What is a 2D list in Python?
2d lists in python

Quiz
•
Computers
•
7th Grade
•
Medium
Janelle Yearwood
Used 43+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A 2D list in Python is a single list with multiple dimensions.
A 2D list in Python is a list of lists.
A 2D list in Python is a list of tuples.
A 2D list in Python is a dictionary of lists.
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the syntax to access an element in a 2D list?
list_name(row_index)(column_index)
list_name[row_index, column_index]
list_name[row_index][column_index]
list_name[row_index][column_index]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of row and column in a 2D list.
Rows go from right to left, and columns go from bottom to top in a 2D list.
Rows go from bottom to top, and columns go from left to right in a 2D list.
Rows go from left to right, and columns go from top to bottom in a 2D list.
Rows go from top to bottom, and columns go from left to right in a 2D list.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a 1D list and a 2D list?
1D lists can only store integers, while 2D lists can store any data type.
In a 1D list, elements are arranged vertically, while in a 2D list, elements are arranged horizontally.
In a 1D list, elements are arranged in a single dimension, while in a 2D list, elements are arranged in multiple dimensions.
1D lists are used for text data, while 2D lists are used for numerical data.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a 2D list have different lengths of sublists?
Rarely
Yes
No
Sometimes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add a new row to a 2D list?
my_2d_list.extend(new_row)
my_2d_list.insert(new_row)
my_2d_list.add(new_row)
my_2d_list.append(new_row)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of len(my_list) for a 2D list?
Number of rows in the 2D list
Sum of elements in the 2D list
Total elements in the 2D list
Number of columns in the 2D list
Similar Resources on Quizizz
10 questions
Types of Animation

Quiz
•
7th - 9th Grade
10 questions
Spreadsheet Vocabulary Quiz Review

Quiz
•
7th Grade
12 questions
Python Tile Program

Quiz
•
KG - 8th Grade
9 questions
Python Lists

Quiz
•
7th - 11th Grade
11 questions
Keyboarding Home Row Keys

Quiz
•
6th - 7th Grade
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
11 questions
Typing Skills and Posture

Quiz
•
6th Grade - University
10 questions
Library Terms

Quiz
•
6th - 12th Grade
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
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
20 questions
Math Review

Quiz
•
7th Grade
14 questions
Subtracting Integers

Lesson
•
6th - 8th Grade
15 questions
Exponent Properties

Quiz
•
7th - 9th Grade