
Java Loops
Authored by Suprabha Malhar-Jain
Computers
10th - 12th Grade
Used 73+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which kind of loop would be used?
I need a program that will keep letting me add a monthly payment for 12 months.
FOR Loop
WHILE Loop
2.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Which kind of loop would be used?
I need a guessing game program that will let me keep guessing until I get the right answer.
FOR Loop
WHILE Loop
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which kind of loop would be used?
I need a program that will keep letting me add money to a piggy bank until I get to $100.
FOR Loop
WHILE Loop
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the symbol used for the INCREMENT operator ?
+
++
=
==
5.
MULTIPLE CHOICE QUESTION
2 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++;
}
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many times will this loop execute?
50 times
1 time
100 times
Don't know, depends upon a random number
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the final sum after this loop executes
sum = 5
sum = 10
sum = 15
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
20 questions
Examen 2 - Informática
Quiz
•
9th - 12th Grade
20 questions
PEMROGRAMAN
Quiz
•
12th Grade
20 questions
ujian web
Quiz
•
9th - 12th Grade
20 questions
Documente Web. Formatul HTML
Quiz
•
9th Grade - University
20 questions
Introducción a las bases de datos
Quiz
•
12th Grade
20 questions
Prepost WAN
Quiz
•
11th Grade
20 questions
Android AsyiQuizz
Quiz
•
11th Grade
20 questions
LATIHAN SOAL UNBK
Quiz
•
12th 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