

Understanding 2D Arrays
Interactive Video
•
Computers
•
6th - 10th Grade
•
Practice Problem
•
Hard
Ethan Morris
FREE Resource
Read more
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step to access a row in a 2D array?
Use a function to retrieve the row
List the name of the array followed by square brackets with an index
Access the array using a pointer
Use a loop to iterate through the array
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you access Cindy's first quiz answer?
quizScores[0][2]
quizScores[2][1]
quizScores[2][0]
quizScores[1][0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access an individual element in a 2D array?
By using two sets of square brackets with indices
By using a pointer
By using a single index
By using a function call
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to modify Daniel's third answer?
quizScores[3][2] = 'c'
quizScores[2][3] = 'c'
quizScores[2][2] = 'c'
quizScores[3][3] = 'c'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the assignment operator in modifying a 2D array?
To add a new row
To update an existing element
To delete an element
To sort the array
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to be careful with indexing in arrays?
Because indexing starts at zero
Because indexing starts at one
Because arrays are immutable
Because arrays are always sorted
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a similarity between 1D and 2D arrays?
Both can only store integers
Both use the same indexing method
Both require the same amount of memory
Both are accessed using pointers
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
11 questions
Insects and Humans
Interactive video
•
KG - 12th Grade
6 questions
The Fascinating World of Butterflies: Metamorphosis, Conservation, and Ecosystem Contributions
Interactive video
•
4th - 12th Grade
6 questions
INTERVIEW: Nolan Gould at Sony PlayStation Unveils PS Vita Portable Entertainment System on 2/15/12 in Hollywood, CA.
Interactive video
•
6th - 8th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade