Search Header Logo

Control Structures – Conditional Statements & Loops

Authored by Tarra Jackson

Information Technology (IT)

11th Grade

Used 2+ times

Control Structures – Conditional Statements & Loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Media Image

What will be the output of the following code?

Small

Big

Error

Nothing

2.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which keyword is used to check additional conditions after an if statement?

else

elif

while

for

3.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What will happen if the condition in a while loop never becomes False?

The program will run correctly.

The program will stop immediately.

The program will enter an infinite loop.

The program will crash before running.

4.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Media Image

How many times will this for loop execute?

2

3

4

5

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which of the following is NOT a loop in Python?

while

repeat

for

None of the above

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?