Java Loops

Java Loops

Assessment

Flashcard

Computers

10th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

29 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?