2D Array Quick Check

2D Array Quick Check

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

x-Intercepts & Zeros

x-Intercepts & Zeros

9th Grade

7 Qs

Features of Functions

Features of Functions

9th Grade

13 Qs

3-3 Slope-Intecept From

3-3 Slope-Intecept From

7th - 9th Grade

12 Qs

Multiplying with Arrays

Multiplying with Arrays

4th Grade - University

10 Qs

Slope Intercept, Point Slope, Standard Form

Slope Intercept, Point Slope, Standard Form

9th Grade

12 Qs

Graphing using Intercepts

Graphing using Intercepts

8th - 10th Grade

8 Qs

Multiplication Division Equal Groups Array Number Line

Multiplication Division Equal Groups Array Number Line

3rd Grade - University

10 Qs

Algebra 2 Review of Chapters 1-4

Algebra 2 Review of Chapters 1-4

9th - 12th Grade

14 Qs

2D Array Quick Check

2D Array Quick Check

Assessment

Quiz

Mathematics

9th - 12th Grade

Medium

Created by

Matthew Fahrenbacher

Used 9+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which command would make this 2D array?

int[][] values = new int[3][4];

int[][] values = new int[4][3];

int[][] values = new values[3][4];

int[][] values = int[3][4]

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

This 2D array is named numbers. Write a command to access the value 5.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This array is named numbers. Which command would add up the top row?

numbers[0][0] + numbers[0][1] + numbers[0][2]

numbers[1][0] + numbers[2][0] + numbers[3][0]

numbers[1][1] + numbers[1][2] + numbers[1][3]

numbers[1][1] + numbers[2][1] + numbers[3][1]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This array is named numbers. Which command would access the number of columns in the 2D array?

numbers.length

numbers.columns

numbers[0].length

numbers[0].length-1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This 2D array is named stuff. Which command will access the values {5, 12, 17, 9, 3}?

stuff[0]

stuff[0][0]

stuff

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This 2D array is named stuff. What is stuff.length?

The number of rows (3)

The number of columns (5)

The last row (2)

The last column (4)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

27

46

18

43

ArrayIndexOutOfBoundsException

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?