
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 Quizizz
6 questions
Code.org CSP Unit 4 Review

Flashcard
•
9th - 12th Grade
10 questions
CS Python Fundamentals Flashcard 4 Practice

Flashcard
•
9th - 12th Grade
10 questions
Arrays

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

Flashcard
•
9th - 12th Grade
9 questions
Python Review 5/23

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

Flashcard
•
9th - 12th Grade
10 questions
Methods and conditional warm up 1

Flashcard
•
10th Grade
10 questions
CSP Unit 3 Assessment

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University