Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Practice for AP Java Quiz #6

Practice for AP Java Quiz #6

10th - 12th Grade

19 Qs

TIN 11 BÀI 11 KIỂU MẢNG

TIN 11 BÀI 11 KIỂU MẢNG

11th Grade

18 Qs

Массивы Python

Массивы Python

9th Grade

15 Qs

Motherboard Form Factors & Overview

Motherboard Form Factors & Overview

6th - 12th Grade

18 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

Single Array

Single Array

10th - 12th Grade

15 Qs

Unit 7 APCSA

Unit 7 APCSA

9th - 12th Grade

25 Qs

Javascript Arrays

Javascript Arrays

10th Grade

25 Qs

Java Arrays

Java Arrays

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Stephanie Baier

Used 170+ 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?