Java Arrays and Loops Quiz Review

Java Arrays and Loops Quiz Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

AQA GCSE Computer Science - 3.2.2 Programming Concepts

AQA GCSE Computer Science - 3.2.2 Programming Concepts

8th - 10th Grade

20 Qs

Iterative Constructs in Java

Iterative Constructs in Java

9th Grade

10 Qs

Python Loops

Python Loops

11th Grade

10 Qs

8525 AQA GCSE 3.2.6 Data Structures

8525 AQA GCSE 3.2.6 Data Structures

10th Grade

20 Qs

Nat 5 Standard Algorithms + Predefined Functions

Nat 5 Standard Algorithms + Predefined Functions

8th - 10th Grade

10 Qs

PCEP Section 2B: Perform different types of iterations

PCEP Section 2B: Perform different types of iterations

12th Grade

15 Qs

Kuizi 14 - Web

Kuizi 14 - Web

10th Grade - University

15 Qs

C programming

C programming

11th Grade - University

10 Qs

Java Arrays and Loops Quiz Review

Java Arrays and Loops Quiz Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Brett Kottmann

Used 16+ times

FREE Resource

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!

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?