
2d array Java
Authored by Sheryl Edwards
Mathematics, Science, Computers
10th - 12th Grade
Used 140+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
8 questions
Fungsi Naik, Fungsi Turun dan Stasioner
Quiz
•
11th Grade - University
8 questions
Excel Practice: Simple & Complex Formulas
Quiz
•
12th Grade
8 questions
KSSM_FORM 5_CHAPTER 9_SUBCHAPTER 9.2
Quiz
•
1st - 12th Grade
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
8 questions
Peluang
Quiz
•
9th - 12th Grade
8 questions
KUIS LINGKARAN
Quiz
•
11th Grade
8 questions
STEM 問答挑戰賽
Quiz
•
3rd Grade - University
8 questions
REFORZAMIENTO PROBABILIDAD Y ESTADÍSTICA
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Mathematics
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
16 questions
Converting Improper Fractions to Mixed Numbers
Quiz
•
4th - 10th Grade
10 questions
Simplifying Expressions by Combining Like Terms
Interactive video
•
6th - 10th Grade
10 questions
Simplifying Expressions with the Distributive Property
Interactive video
•
6th - 10th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade