Search Header Logo

Java Arrays and Loops Quiz Review

Authored by Brett Kottmann

Computers

9th - 12th Grade

Used 16+ times

Java Arrays and Loops Quiz Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Array indices start with what number?

0

1

-1

NaN

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which of the below is NOT a loop?

for

while

do-while

repeat

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

A for loop is what kind of loop?

definite

indefinite

initial

continuous

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

A while loop is what kind of loop?

definite

indefinite

initial

continuous

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A for loop executes a specific number of times and a while loop executes until a condition is met.

Seems legit

Not buying it

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A do-while loop executes at least once and a while loop may not execute at all.

You betcha!

Nah

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

For an array, the statement print(array[4]) will print the fourth element of the array.

Fake news!

Yes, yes, a thousand times yes!

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?