
java while loop
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Dara Kirschenbaum-Perry
Used 71+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
12
012
0123
123
01234
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
104
54
44
35
65
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2
23
234
34
2345
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
How many times will the following code print "Welcome to Java"?
int count = 0;
while (count < 10) {
System.out.println("Welcome to Java");
count++;
}
8
9
10
0
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the output of the following code?
int x = 0;
while (x < 4)
{
x = x + 1;
}
System.out.println("x is " + x);
x is 0
x is 1
x is 3
x is 4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a piece of code runs unintentionally forever it is known as
An infinite loop
A long loop
A broken loop
A for loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A condition is
a statement that is either True or False
a string
an integer
a list
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
11 questions
Eventos de un experimento aleatorio
Quiz
•
9th Grade
20 questions
AĞ TEKNOLOJİLERİ
Quiz
•
9th - 10th Grade
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th Grade - University
15 questions
End of term assessment
Quiz
•
9th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
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
