
java while loop

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
012
2.
FLASHCARD QUESTION
Front
Back
234
3.
FLASHCARD QUESTION
Front
How many times will the following code print "Welcome to Java"?
int count = 0;
while (count < 10) {
System.out.println("Welcome to Java");
count++;
}
Back
10
4.
FLASHCARD QUESTION
Front
What is the output of the following code?
int x = 0;
while (x < 4)
{
x = x + 1;
}
System.out.println("x is " + x);
Back
x is 4
5.
FLASHCARD QUESTION
Front
What does the code output? Options: 0, 1, 2, 3; 1, 2, 3; 0, 1, 2
Back
1, 2, 3
6.
FLASHCARD QUESTION
Front
What does the code output?
Back
There is no output.
7.
FLASHCARD QUESTION
Front
What does the code output? Options: hi, bye, hi bye hi bye hi bye, hi hi hi bye
Back
hi hi hi bye
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
12 questions
AP CSP Loops Practice

Flashcard
•
9th - 12th Grade
10 questions
Python Lists

Flashcard
•
9th - 12th Grade
6 questions
lists/tuples

Flashcard
•
9th - 12th Grade
10 questions
CSP Unit 3 Assessment

Flashcard
•
9th - 12th Grade
6 questions
Code.org CSP Unit 4 Review

Flashcard
•
9th - 12th Grade
8 questions
French - Lesson 1: Basic Greetings

Flashcard
•
KG - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade