Java Loops

Flashcard
•
Computers
•
10th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which kind of loop would be used for a program that will keep letting me add a monthly payment for 12 months?
Back
FOR Loop
2.
FLASHCARD QUESTION
Front
Which kind of loop would be used for a guessing game program that allows continuous guessing until the right answer is found?
Back
WHILE Loop
3.
FLASHCARD QUESTION
Front
Which kind of loop would be used to keep adding money to a piggy bank until reaching $100?
Back
WHILE Loop
4.
FLASHCARD QUESTION
Front
What is the symbol used for the INCREMENT operator?
Back
++
5.
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
6.
FLASHCARD QUESTION
Front
How many times will this loop execute? Options: 50 times, 1 time, 100 times, Don't know, depends upon a random number
Back
Don't know, depends upon a random number
7.
FLASHCARD QUESTION
Front
What is the final sum after this loop executes? Options: sum = 5, sum = 10, sum = 15
Back
sum = 10
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Java Loops

Flashcard
•
9th - 12th Grade
11 questions
for and while loops level 2

Flashcard
•
9th - 12th Grade
15 questions
Fingerprinting

Flashcard
•
10th - 12th Grade
15 questions
AP Computer Science A Review 1

Flashcard
•
10th - 12th Grade
15 questions
Pot Pourri

Flashcard
•
11th - 12th Grade
16 questions
For and While Loops in Python

Flashcard
•
9th - 12th Grade
14 questions
Forensics Chapter 6 Vocab

Flashcard
•
9th - 12th Grade
15 questions
Minutiae

Flashcard
•
11th 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