Search Header Logo

Python - Loops & Lists

Authored by Yasmi Terraza

Computers

7th - 11th Grade

Used 33+ times

Python - Loops & Lists
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word used to describe repetition in programming?

Sequence
Selection
Iteration
Coding

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the two main types of loops that we have learned about in Python?

IF Function & Variables
FOR and WHILE Loops
Forever and Fixed Loop
Data Types and Numbers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is used when you know how many times you want to repeat something?

A WHILE Loop
An IF function
A FOR Loop
A Variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is used when you DO NOT know how many times you want to repeat something?

A WHILE Loop
A Counter
A FOR Loop
A Forever Loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would amount equal in this piece of code:

amount = 2 + 5 * 2

12
9
14
5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the value of ‘marks’ after running this code:
 
marks = 20
total = 5 
newmarks = marks * 3

60
45
100
75

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is printed when this program is run:
days = 5 
if days > 6:  
   print(“Month”)

else:  
   print(“Week”)

Month
Week
Day
4

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?