Search Header Logo

Python - Iteration and Selection

Authored by Rachel Pugh

Computers

8th - 12th Grade

Used 31+ times

Python - Iteration and Selection
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A count controlled loop will..

Repeat code until a condition is met

Repeat code a specific amount of times

Repeat code a random amount of times

None of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What sort of loop is this?

Count Controlled

Condition Controlled

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is NOT a loop in python?

for loop

while loop

nested loop

if loop

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these operators means EQUAL TO?

'='

'=>'

'<='

'=='

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the '#' allow you to do?

Repeat code

Comment on code

Print code

End code

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If i want to continuously check for a correct answer, what loop would i use?

for loop

while loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the error in this code?

incorrect variable name

incorrect indentation

incorrect speech marks

incorrect loop

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?