
Unit 9 2D Lists Practice
Authored by Bonnie Keating
Computers
9th - 12th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Row-major order is when the row is listed first and then the column. Column-major order means the column is listed first and then the row. Which is more commonly used?
row-major order
column-major order
neither. they both sound dumb.
col-major order because column-major order is too much to type
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following 2D list called "a":
3 4 5
8 9 1
2 7 6
Which element is referenced by a[1][2]?
9
4
1
8
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank to add 4 lists of [1, 2, 3] as elements to the list called "a":
for i in range(4):
a.______([1, 2, 3])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider this code. What are the dimensions of the 2D list called "grid" (row x column)?
4 X 20
5 x 5
5 X 4
4 x 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider this code. What is printed?
48
82
15
24
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After running this code, how many rows are in "list"?
2
3
4
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I wanted to add 100 to every element of a 2D list of integers, I would use 2 nested traditional for loops
true
false
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
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
10 questions
Keyboarding Terms
Quiz
•
9th - 12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
10 questions
conditional and iterative statements
Quiz
•
11th Grade
15 questions
Berfikir Komputasional
Quiz
•
10th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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