
java while loop

Flashcard
•
Computers
•
9th - 12th Grade
•
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
8.
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
Similar Resources on Wayground
9 questions
Heyyy

Flashcard
•
KG
11 questions
for and while loops level 2

Flashcard
•
9th - 12th Grade
10 questions
If/Else

Flashcard
•
9th - 12th Grade
12 questions
Java Loops

Flashcard
•
9th - 12th Grade
12 questions
Code.org Unit 6 Assessment Day

Flashcard
•
9th - 12th Grade
9 questions
Java For Loops

Flashcard
•
9th - 12th Grade
5 questions
Java - Writing Methods

Flashcard
•
9th - 12th Grade
5 questions
Java - Writing Methods

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade