When referring to two-dimensional lists, the phrase row-major means
CS Python Fundamentals Test 9 PRACTICE

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Scott Chamberlain
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
more rows than columns
row first, then column
many rows, only one column
the rows are sorted, the columns are not
2.
HOTSPOT QUESTION
45 sec • 1 pt
Click on the location [1][3] within the 2-D array shown here.
3.
HOTSPOT QUESTION
45 sec • 1 pt
Click on the location [2][2] within the 2-D array shown here.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on your understanding of a row-major list in Python, how would a language process a column-major list?
The list would be limited to one row
The first index would be the column; the second index the row
The element at [0][0] would refer to the last value in the list
The row indexes decrease as the column indexes increase
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about lists is false?
An element is the data stored in a specific location
An index is a pointer to a specific location
List row and column numbers begin with 0
The first index in a 2-D list gives the column number
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which line of code correctly declares and initializes a 2-D list in Python?
prime = [2,3], [5,7]
prime = [2,3] + [5,7]
prime = [2,3][5,7]
prime = [[2,3], [5,7]]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the code shown here, what are the dimensions of the list? (rows by columns)
4x3
3x2
2x3
3x4
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Spreadsheet Basics

Quiz
•
8th - 10th Grade
24 questions
Excel Basics

Quiz
•
6th - 10th Grade
20 questions
Microsoft Excel 2013 Survey (Basic)

Quiz
•
9th Grade - University
20 questions
Electronic Spreadsheet

Quiz
•
9th Grade
21 questions
Excel

Quiz
•
9th Grade
15 questions
Formatting Tables Quiz

Quiz
•
5th - 12th Grade
20 questions
Navigating Excel

Quiz
•
5th - 12th Grade
15 questions
Chapter : 9 Working with tables

Quiz
•
5th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University