Java Loops

Flashcard
•
Computers
•
KG
•
Hard
Quizizz Content
FREE Resource
Student preview

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A while loop carries on as long as...
Back
The condition in the brackets is true
2.
FLASHCARD QUESTION
Front
A while loop has the following format: while (condition) { ... }
Back
while (condition) { ... }
3.
FLASHCARD QUESTION
Front
What is the output of the following code?
int i = 1;
while (i < 5) {
System.out.println("Hello");
i++;
}
Back
Hello
Hello
Hello
Hello
4.
FLASHCARD QUESTION
Front
While loops are not really important or necessary in Java
Back
False
5.
FLASHCARD QUESTION
Front
How many stars are printed? Options: 7, 3, 4, 5, Infinite Loop
Back
4
6.
FLASHCARD QUESTION
Front
In total, how many times is the inner loop executed? Options: 5, 10, 15, 50, Infinite Loop
Back
50
7.
FLASHCARD QUESTION
Front
How many times does the loop print a *?
Back
20
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Math Question Set 1 Review

Flashcard
•
4th Grade
15 questions
Partition Rectangles

Flashcard
•
2nd Grade
15 questions
Rows and Columns

Flashcard
•
1st - 2nd Grade
15 questions
Area - counting squares

Flashcard
•
3rd Grade
16 questions
HfiMath - X-Master - Multiply 3, 6, 9

Flashcard
•
5th Grade
15 questions
2.G.2

Flashcard
•
2nd Grade
15 questions
Arrays

Flashcard
•
2nd Grade
15 questions
Arrays

Flashcard
•
1st - 3rd Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade