When you know exactly how many times the loop needs to repeat you should use a

Java Loops

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

29 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
for loop
2.
FLASHCARD QUESTION
Front
What is the minimum number of times that ANY for loop will repeat?
Back
0
3.
FLASHCARD QUESTION
Front
The best loop to use when working with an array is
Back
for-each
4.
FLASHCARD QUESTION
Front
A for-each loop is initialised with
Back
an array
5.
FLASHCARD QUESTION
Front
A while loop is initialised with
Back
a set of conditions
6.
FLASHCARD QUESTION
Front
A for loop is initialised with
Back
a counter, a comparison and an increment value
7.
FLASHCARD QUESTION
Front
What does the following code do?
for (int i = 0; i < 50; i++) {
System.out.println(i);
}
Back
Print out the numbers from 0 - 49
Create a free account and access millions of resources
Similar Resources on Quizizz
23 questions
AP CSA Unit One Review

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

Flashcard
•
9th - 12th Grade
22 questions
Review JavaScript

Flashcard
•
11th Grade - University
18 questions
AP CSA Unit 1 Review

Flashcard
•
10th - 12th Grade
23 questions
Java Loops

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

Flashcard
•
KG
25 questions
JavaScript Variables

Flashcard
•
10th - 12th Grade
28 questions
Units 1 to 6: Mock Exam Final - AP Computer Science A

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade