Search Header Logo

Java Loops

Computers

10th - 12th Grade

Used 67+ times

Java Loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

41 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A loop is a way to (choose ALL the correct options)

make life simpler for the programmer

make life simpler for the user

hang up the computer infinitely

efficiently repeat instructions

efficiently work with data structures such as files and arrays

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

repeat loop

for loop

while loop

try case loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the minimum number of times that ANY for loop will repeat?

0

1

2

10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the minimum number of times that ANY while loop will repeat?

0

1

2

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The best loop to use when working with an array is

for

for-each

while

do while

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A for-each loop is initialised with

a counter, a comparison and an increment value

an array

a set of conditions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A while loop is initialised with

a counter, a comparison and an increment value

an array

a set of conditions

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?