
java while loop

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Python variables, expressions, and data types

Flashcard
•
9th - 12th Grade
9 questions
STRING MANIPULATION (PYTHON)

Flashcard
•
11th - 12th Grade
15 questions
AP CSP Unit 4

Flashcard
•
10th - 12th Grade
10 questions
Python booleans & if/elif/else

Flashcard
•
9th - 12th Grade
10 questions
Greetings in Spanish

Flashcard
•
KG - University
10 questions
Python Lists

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

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

Flashcard
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade