

java while loop
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
012
2.
FLASHCARD QUESTION
Front
Back
35
3.
FLASHCARD QUESTION
Front
Back
234
4.
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
5.
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
4
6.
FLASHCARD QUESTION
Front
What does the code output? Options: hi, hi, hi hi hi, hi hi hi hi
Back
hi hi hi
7.
FLASHCARD QUESTION
Front
What does the code output? Options: 3, 4, 5; 1, 2, 3; 3, 4, 5, 6; 3, 4, 4
Back
3, 4, 5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?