A way to repeat code in your program.
CodeHS 2.10 While Loops

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Aaron Pavao
Used 14+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
loop
condition
selection
counter
fencepost
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What lets us repeat code as long as something is true?
while loop
iteration
edge case
counter
bagels
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is code that you put inside an if statement or while loop?
condition
iteration
immersion
fencepost
counter
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What lets us change the flow of the code? (choose three)
control structure
if statement
while loop
sequence
counter
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a problem in your code that only occurs in extreme situations?
edge case
iteration
counter
while loop
condition
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the fencepost problem better known as?
off-by-one error
farmer's dilemma
Duff's device
iterative design
counter
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What was the last thing Mr. Pavao posted on the #comp-sci-general channel in the Discord server?
a bitmoji
an emoji
a gif
the answers to this quiz
a dad joke
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Iteration

Quiz
•
9th - 12th Grade
10 questions
Chapter 05 Worksheet

Quiz
•
10th Grade
10 questions
Pseudocode WHILE Loops

Quiz
•
10th - 12th Grade
10 questions
SC025: Control Structures Lecture Quiz

Quiz
•
12th Grade
10 questions
Computational thinking - General review of the course

Quiz
•
9th - 12th Grade
10 questions
GDScript Quiz - Lesson 3 - Conditional statements & Iteration

Quiz
•
12th Grade
9 questions
Swift Playgrounds

Quiz
•
9th Grade
10 questions
while loop

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University