Search Header Logo

Loops review

Authored by Jeff Simmons

Mathematics

9th - 12th Grade

CCSS covered

Used 2+ times

Loops review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is not a possible benefit of using a while loop?

It allows your program to repeat code without you having to rewrite it

It can make your code shorter

It enables you to use code from outside your program

All of the above are possible benefits

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

How many times does this while loop run?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term refers to each repetition of a while loop?

pass

iteration

function

Loopty-loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What statement will immediately end a loop?

print

if

continue

break

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What statement is used to immediately end an iteration?

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Write the word representing the condition that could end this loop early.

Be precise.

Tags

CCSS.L.2.1F

CCSS.L.8.1C

CCSS.L.8.3A

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what case would the loop else clause not run?

If the while loop doesn't run any iterations

When the loop condition becomes False

If the break statement is run within the loop block

The loop else clause will always run

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?