
2D Array Quick Check
Quiz
•
Mathematics
•
9th - 12th Grade
•
Medium
Matthew Fahrenbacher
Used 9+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
This 2D array is named numbers. Write a command to access the value 5.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
Part 1. Graphing Exponential Functions Practice
Quiz
•
9th Grade
15 questions
Math 8 SOL Review #2 (Q1 - Q3)
Quiz
•
6th - 9th Grade
10 questions
Factors and Arrays
Quiz
•
3rd Grade - University
15 questions
Lập trình C (2)
Quiz
•
12th Grade
11 questions
Definite integrals and its properties
Quiz
•
11th - 12th Grade
17 questions
Graphing Linear Equations
Quiz
•
9th - 10th Grade
13 questions
Unit 6 Assignment 6-4
Quiz
•
9th - 11th Grade
15 questions
Converting forms of linear equations
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
10 questions
SAT Focus: Geometry
Quiz
•
10th Grade
20 questions
Solving Multi-Step Equations
Quiz
•
10th Grade
15 questions
Solving Literal Equations
Quiz
•
8th - 9th Grade
12 questions
Absolute Value Equations
Quiz
•
9th Grade
