Java Loops

Flashcard
•
Computers
•
KG
•
Hard
Wayground 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
15 questions
Arrays

Flashcard
•
1st - 3rd Grade
15 questions
Math Arrays Multiplication

Flashcard
•
3rd Grade
14 questions
Google Sheets

Flashcard
•
7th - 8th Grade
15 questions
Matrix Review

Flashcard
•
11th Grade
20 questions
MS Excel Vocab

Flashcard
•
6th Grade
15 questions
Warm-Up 8 - Matrices

Flashcard
•
9th - 12th Grade
15 questions
Arrays Practice 2.OA.4

Flashcard
•
2nd Grade
15 questions
5th Grade Excel Basics

Flashcard
•
5th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Disney Characters

Quiz
•
KG
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Movie Trivia

Quiz
•
KG - 2nd Grade
20 questions
Logos

Quiz
•
KG
6 questions
Things that can move.

Quiz
•
KG
15 questions
Pronouns

Quiz
•
KG - 3rd Grade
15 questions
The Five Senses

Quiz
•
KG