
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
11 questions
for and while loops level 2

Flashcard
•
9th - 12th Grade
10 questions
Arrays

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

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

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Photo App List Flashcard

Flashcard
•
9th - 12th Grade
12 questions
CSP-A114 Flashcard

Flashcard
•
9th - 12th Grade
8 questions
Unit #4- Loops and Nested Loops

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

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade