Java Loops

Flashcard
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

63 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 for a program that keeps letting me add money to a piggy bank until I get to $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?
Back
Don't know, depends upon a random number
7.
FLASHCARD QUESTION
Front
What is the final sum after this loop executes?
Back
sum = 10
Create a free account and access millions of resources
Similar Resources on Wayground
66 questions
AP CS+ September 2025 to date

Flashcard
•
10th Grade - University
55 questions
Cell signaling and endocrine system

Flashcard
•
10th - 12th Grade
56 questions
Arrays and Strings in C

Flashcard
•
12th Grade - University
50 questions
EDEXCEL GCSE CS Summary

Flashcard
•
10th Grade
48 questions
Arduino programming flashcard 1

Flashcard
•
11th - 12th Grade
67 questions
Year 10 Computer Science - End of Year Flashcard

Flashcard
•
10th Grade
72 questions
Python 1 Review Game

Flashcard
•
9th - 12th Grade
52 questions
App Creators Lesson 2 Review

Flashcard
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade