Quiz 10 - While Loops

Quiz
•
Computers
•
11th Grade
•
Medium
Casey Devet
Used 68+ times
FREE Resource
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?
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
10 questions
Pseudocode - OCR ERL

Quiz
•
9th - 12th Grade
11 questions
Cascading Style Sheets

Quiz
•
8th - 12th Grade
12 questions
Code Tracing Quiz

Quiz
•
9th - 12th Grade
12 questions
Python Loops

Quiz
•
9th - 11th Grade
14 questions
Code.org Unit 3

Quiz
•
9th - 12th Grade
14 questions
Informatics Practices Quiz (SARAFALI. P)

Quiz
•
11th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade