Search Header Logo

Program Development - Python: Loops

Computers

9th - 10th Grade

Used 63+ times

Program Development - Python: Loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A loop repeated if the condition is true / false

While loop
For loop
Repeat loop
If...else

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Loop executed a fixed number of times with a built-in-counter (creating a counter variable is unnecessary).

While loop
For loop
Repeat loop
If...else

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Code repeated / looped until a condition has been met or a set number of times.

Sequence
Selection
Iteration
Variable

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Code executed based on a condition being true

Sequence
Selection
Iteration
Variable

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The user is asked to enter a number which must be below one hundred. What type of iteration would be used to check this?

For loop
While loop
Check loop
Repeat loop

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To solve a problem that requires the user to enter 10 numbers would use what type of iteration?

While loop
For loop
Variable
Selection

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will print to the screen in this code?

18
-25
-10
-15

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?