
Unit 9 2D Lists Practice
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Bonnie Keating
Used 10+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
9G4 CS Python Programming Sequence and Vocabs
Quiz
•
9th Grade
12 questions
ULANGAN HARIAN Semester 2
Quiz
•
10th Grade
17 questions
Operating System
Quiz
•
12th Grade
10 questions
1.8 Open Source & Closed Source TRUE or FALSE
Quiz
•
10th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
10 questions
RFID Quiz
Quiz
•
10th - 12th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
