
CodeHS 2.10 While Loops
Authored by Aaron Pavao
Computers
9th - 12th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A way to repeat code in your program.
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?