A while loop carries on as long as...
Java while loops

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Claire Firman
Used 17+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The condition in the brackets is true
The condition in the brackets is false
i < 10
the for loop has not ended
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A while loop has the following format:
while (condition)
{
...
}
while
{
...
}
continue while (condition)
{
...
}
while [condition]
[
...;
]
3.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
A condition in Javacould be any of the following:
a >, <, ==, >=, <= relation
str1.equals(str2)
str1.equalsIgnoreCase(str2)
str.length()
4.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
While loops are used when ...
You are not sure how many times exactly a loop should iterate
You want a loop to repeat while the condition is true
You don't like for loops
You don't like to wait for things
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
OUTPUT?
int i = 1;
while (i < 5) {
System.out.println("Hello");
i++;
}
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
While loops are not really important or necessary in Java
True
False
Similar Resources on Quizizz
6 questions
Loops In Java

Quiz
•
8th - 12th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
10 questions
Java Quiz 1: Introduction

Quiz
•
6th - 12th Grade
10 questions
Python Condition Controlled Iteration

Quiz
•
10th Grade
10 questions
CS 50 Terminology

Quiz
•
6th - 10th Grade
6 questions
Loops

Quiz
•
10th - 12th Grade
10 questions
Programming Basics

Quiz
•
9th - 10th Grade
9 questions
Programming Basics

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade