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
Given the code, what is in values[2][1] ?
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 Wayground
15 questions
Area and Arrays

Quiz
•
10th - 12th Grade
10 questions
Algoritmo y estrucutura de datos S4

Quiz
•
12th Grade
16 questions
CSA Unit 3 Review

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

Quiz
•
6th - 10th Grade
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
JAVA String-1.1

Quiz
•
10th Grade
15 questions
Array

Quiz
•
11th Grade
20 questions
APCS A - Array 6.1,6.2,6.3,6.

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade