Java Loops

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Suprabha Malhar-Jain
Used 70+ times
FREE Resource
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
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Functions

Quiz
•
9th - 12th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
26 questions
Java - Flow of Control Quiz

Quiz
•
9th - 12th Grade
20 questions
Fase F - Array

Quiz
•
11th Grade
20 questions
for Döngüsü

Quiz
•
10th - 12th Grade
25 questions
GCSE Computer Science: Programming (Python)

Quiz
•
9th - 12th Grade
25 questions
Unit 2 - Turtle Graphics Quiz for Python Computer Programming I

Quiz
•
9th - 12th Grade
20 questions
Python while loops

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade