Loops review

Quiz
•
Mathematics
•
9th - 12th Grade
•
Hard
+3
Standards-aligned
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
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?
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
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
Similar Resources on Wayground
35 questions
Probability and Statistics Final Exam

Quiz
•
12th Grade
30 questions
Probability and Two Way Frequency Tables

Quiz
•
9th Grade
28 questions
Cryptology

Quiz
•
11th - 12th Grade
34 questions
NZ Tax and Deductions Glossary

Quiz
•
6th - 10th Grade
36 questions
triangle inequlities

Quiz
•
9th - 12th Grade
37 questions
Fault Finding (2391)

Quiz
•
12th Grade
31 questions
Necs Mock course 03001 test

Quiz
•
12th Grade
34 questions
Tax Revenue

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
15 questions
Combining Like Terms and Distributive Property

Quiz
•
9th Grade
12 questions
Absolute Value Equations

Quiz
•
9th Grade
8 questions
ACT Math Strategies

Lesson
•
9th Grade
10 questions
Solving Absolute Value Equations

Quiz
•
9th Grade
16 questions
Parallel Lines Cut by a Transversal

Lesson
•
9th - 10th Grade