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
•
2nd Grade
17 questions
Tracing Loops in Java

Flashcard
•
12th Grade
16 questions
Multiplication Arrays

Flashcard
•
2nd - 3rd Grade
15 questions
Excel Basic Vocab

Flashcard
•
9th Grade
15 questions
Arrays

Flashcard
•
1st - 3rd Grade
14 questions
Google Sheets

Flashcard
•
7th - 8th Grade
15 questions
Arrays

Flashcard
•
3rd Grade
15 questions
Arrays

Flashcard
•
2nd 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
Disney Characters

Quiz
•
KG
20 questions
Place Value

Quiz
•
KG - 3rd Grade
20 questions
Logos

Quiz
•
KG
8 questions
Place Value & Value

Quiz
•
KG - 2nd Grade
20 questions
Capitalization in sentences

Quiz
•
KG - 4th Grade
12 questions
Continents and Oceans

Quiz
•
KG - 8th Grade
5 questions
911 Presentation

Lesson
•
KG
13 questions
Capitalization and Punctuation

Quiz
•
KG - 2nd Grade