Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

DATA STRUCTURE USING C

DATA STRUCTURE USING C

KG - University

15 Qs

XI Arrays & Structtures 2023

XI Arrays & Structtures 2023

9th - 12th Grade

20 Qs

Data Structures

Data Structures

12th Grade

15 Qs

Java Lab Code.org AP CSA

Java Lab Code.org AP CSA

9th - 12th Grade

18 Qs

Arrays and ArrayLists

Arrays and ArrayLists

10th - 12th Grade

15 Qs

Data Structures

Data Structures

10th Grade - University

18 Qs

Arrays

Arrays

9th - 12th Grade

16 Qs

CP M8 Assessment Review

CP M8 Assessment Review

9th - 12th Grade

17 Qs

Java Arrays

Java Arrays

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Stephanie Baier

Used 159+ times

FREE Resource

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?

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?