
For and While Loops
Authored by William Kelly
Computers
9th - 12th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Repeating a task multiple times in programming is known as ?
Iterators
Scope
Looping
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
When there is an error in the logic of the loop because the stopping condition is never reached.
Arrays
Infinite Loop
Looping
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
for loops allow us to repeat a block of code a known amount of times.
True
False
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Each item inside of an array is at a numbered position, starting at ?
1
0
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
_____ loops let us loop a block of code a known amount of times.
while
for
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
As long as the condition evaluates to _____, the block of code will loops.
true
false
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
_____ loops let us loop a block of code an unknown amount of times.
for
while
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?