Given the code, what is in values[2][1] ?
2D Arrays

Quiz
•
Computers, Other
•
9th - 12th Grade
•
Hard
Alexandria Robles
Used 276+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7.9
9.2
7.3
0.5
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the code, what is the value of things.length ?
4
3
12
7
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the following:
double [][] stuff ;
Which of the following statements constructs an array with 5 rows of 7 columns each and assign its reference to stuff ?
stuff = new stuff[5][7] ;
stuff = new double[5][7] ;
new stuff = double[5][7] ;
stuff = double new[5][7] ;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the code, which of the following fragments prints out every element of items?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Each piece of data in an array is BEST described as a what?
Integer and string
Item
Element
Elephant
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which BEST describes an array?
A data structure - Stores a collection of values under one name
A data collection - Stores a structure of values under one name
A list - Stores a list of numbers
A list - Stores a list of strings
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Each element in an array can be accessed using its what?
By counting in the items in the array
Position or index in the array
By printing the items in the array
By printing and counting the entire array
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
28.02 C sharp

Quiz
•
12th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
20 questions
GCSE Computer Science: Programming (Data Structures)

Quiz
•
9th - 10th Grade
20 questions
looping and branching statements in C

Quiz
•
9th Grade
20 questions
Java 2 Quiz 9

Quiz
•
10th - 12th Grade
15 questions
Java Basic Data Structures

Quiz
•
6th - 10th Grade
10 questions
Quiz 15 - Array Basics

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade