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
IST CodeHS Unit 2 Robot Coding Review

Quiz
•
9th - 12th Grade
20 questions
Arduino Basics

Quiz
•
9th - 12th Grade
20 questions
9618 Chp11 Programming Basics Quiz

Quiz
•
11th Grade - University
20 questions
Loops

Quiz
•
1st - 12th Grade
20 questions
Final Review Part 2

Quiz
•
11th Grade
20 questions
CS J277 Unit 7 Programming

Quiz
•
11th Grade
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
27 questions
Python Loops

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade