
2d array Java
Quiz
•
Mathematics, Science, Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Sheryl Edwards
Used 140+ times
FREE Resource
Enhance your content in a minute
3 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements correctly declares a two-dimensional integer array?
int Matrix[ ] = new int[5,4];
int Matrix[ ]; Matrix = new int[5,4];
int Matrix[ ][ ] = new int[5][4];
int Matrix[ ][ ] = int[5][4];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you get the value 6 out of the following array int[][] a = {{2, 4, 6, 8}, {1, 2, 3, 4}};? Remember each set of curly braces represents a row, or a single dimensional array.
a [0][3]
a [1][3]
c) a[0][2]
d) a[2][0]
e) a[3][1]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many columns does a have if it is created as follows
int[][] a = {{2, 4, 6, 8}, {1, 2, 3, 4}};?
3
4
2
1
Similar Resources on Wayground
8 questions
Canada in Space
Quiz
•
8th - 12th Grade
8 questions
CORAZÓN: NM1-NM2
Quiz
•
10th Grade
8 questions
REPASO 1 - CIRCUNFERENCIA
Quiz
•
11th Grade
8 questions
03. Practice 5.6 Confidence Intervals
Quiz
•
11th Grade
8 questions
IGSE Combined Sciences Fuses
Quiz
•
10th Grade
8 questions
Teremtésvédelem
Quiz
•
12th Grade - University
8 questions
Modulus Functions (Graphs and Inequalities)
Quiz
•
10th - 12th Grade
8 questions
KUIS 1 LINGKARAN
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Mathematics
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Guess the Christmas Movie by the Scene Challenge
Interactive video
•
6th - 10th Grade
11 questions
Solve Systems of Equations and Inequalities
Quiz
•
9th - 12th Grade
10 questions
Test Your Christmas Trivia Skills
Interactive video
•
6th - 10th Grade
17 questions
Identify Linear and Nonlinear Functions
Quiz
•
8th - 12th Grade
10 questions
Fraction Operations: Adding, Subtracting, Multiplying, and Dividing
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Grinch's Christmas Heist
Interactive video
•
6th - 10th Grade
20 questions
Solving Systems of Equations
Quiz
•
8th - 10th Grade
