Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

APCSA Unit 8

APCSA Unit 8

9th - 12th Grade

17 Qs

Tipos Agregados Homogêneos - Vetor e Matriz em C

Tipos Agregados Homogêneos - Vetor e Matriz em C

1st - 10th Grade

20 Qs

PPG 25 Feb 2022

PPG 25 Feb 2022

12th Grade

19 Qs

Arrays Unit

Arrays Unit

10th - 12th Grade

15 Qs

ArrayList Quiz

ArrayList Quiz

12th Grade

20 Qs

Array

Array

12th Grade

20 Qs

XII Computer Datastructures 2023

XII Computer Datastructures 2023

9th - 12th Grade

20 Qs

CSA Array Unit Test

CSA Array Unit Test

9th 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?