Java Loops

Flashcard
•
Computers
•
10th - 12th Grade
•
Hard
Quizizz 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
13 questions
java variables 1

Flashcard
•
9th - 12th Grade
18 questions
AP CSA Unit 1 Review

Flashcard
•
10th - 12th Grade
21 questions
C.P. - Flashcard #2 - Review

Flashcard
•
9th - 12th Grade
21 questions
Java Loops

Flashcard
•
KG
17 questions
Unit 4 Flashcard 2

Flashcard
•
9th - 12th Grade
20 questions
Unit 6 Test Review - Arrays

Flashcard
•
9th - 12th Grade
17 questions
Java Basics

Flashcard
•
12th Grade
16 questions
AP CSA Primitive Types Practice

Flashcard
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade