
Quiz 10 - While Loops
Authored by Casey Devet
Computers
11th Grade
Used 68+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following is the correct syntax for a while loop in Java?
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
The body of a while loop will run as long as the test condition is "false".
True
False
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
The body of a while loop must run at least one time.
True
False
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
In the body of a while loop, the value of at least one variable must be changed or else there may be an infinite loop.
True
False
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
There is a maximum number of times that a while loop's body will run.
True
False
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following will print the numbers from 1 to 10?
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following will print the numbers from 50 down to 1?
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?