Search Header Logo

Java Arrays

Authored by Stephanie Baier

Computers

9th - 12th Grade

Used 185+ times

Java Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following will create an out of bounds error? (select 2)

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which value is not valid as an index for the following array?

0

5

10

9

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java array indexes start at 0.

True

False

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the value of nums[3]?

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which is the correct way to declare an array of 10 integers? (select 2)

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct way to assign 4 to the 3rd position of the nums1 array?

Media Image
Media Image
Media Image
Media Image

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What is the index of the 12 in this array?

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?