Loops review

Loops review

9th - 12th Grade

33 Qs

quiz-placeholder

Similar activities

CSP - CW Internet Plus Review

CSP - CW Internet Plus Review

12th Grade

33 Qs

Programmering 2

Programmering 2

11th Grade

29 Qs

Fundamental of Fluid Flow

Fundamental of Fluid Flow

12th Grade

30 Qs

Midterm Review

Midterm Review

8th - 10th Grade

30 Qs

AQR SM1 Review - 1st

AQR SM1 Review - 1st

11th - 12th Grade

38 Qs

Polar graphs

Polar graphs

11th Grade

30 Qs

#9 Polar Coordinates and Graphs

#9 Polar Coordinates and Graphs

9th - 12th Grade

28 Qs

Y12 Applications Networks Intro 2

Y12 Applications Networks Intro 2

12th Grade

35 Qs

Loops review

Loops review

Assessment

Quiz

Mathematics

9th - 12th Grade

Hard

CCSS
L.2.1F, L.1.1B, L.8.1C

+3

Standards-aligned

Created by

Jeff Simmons

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?