
java while loop
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground 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
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?
Similar Resources on Wayground
10 questions
CSI - High Level Programming P2
Flashcard
•
10th Grade - University
5 questions
Common Responses in Social Situations
Flashcard
•
KG - University
6 questions
C Programming - Control Flow
Flashcard
•
KG
15 questions
Domain & Range - Finite Graphs
Flashcard
•
9th - 12th Grade
9 questions
Julius Caesar Act 1 Flashcard
Flashcard
•
9th - 12th Grade
6 questions
MCA (2005) Code of Practice
Flashcard
•
KG - University
6 questions
Novice Parliamentary Procedure Flashcard
Flashcard
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade