9.6.1 Extending Data Structures Quiz
Quiz
•
Mathematics
•
9th - 12th Grade
•
Practice Problem
•
Medium
+1
Standards-aligned
Tommy Rankin
Used 361+ times
FREE Resource
About this resource
This quiz focuses on advanced Python programming concepts, specifically data structures and their manipulation techniques. The content is appropriate for high school students in grades 9-12 who are learning computer science or programming as part of their mathematics curriculum. Students need a solid understanding of Python syntax, variable assignment, and the fundamental differences between various data structures including lists, tuples, dictionaries, and 2D arrays. The problems assess critical programming skills such as packing and unpacking variables, list comprehensions, dictionary key-value relationships, list slicing operations, and accessing elements in nested data structures. Students must demonstrate proficiency in predicting code output, understanding how concatenation differs from appending in list operations, and recognizing when different data structure types are most appropriate for specific programming tasks. Created by Tommy Rankin, a Mathematics teacher in US who teaches grade 9-12. This comprehensive assessment serves multiple instructional purposes in a programming or computer science classroom, working effectively as a formative assessment tool to gauge student understanding before moving to more complex programming projects. Teachers can utilize this quiz as a warm-up activity to review previously taught concepts, assign it as homework to reinforce classroom learning, or implement it as a review session before unit exams. The quiz structure makes it particularly valuable for identifying specific areas where students need additional support, whether in basic syntax understanding or more advanced concepts like list comprehensions and nested data structure navigation. This assessment aligns with computer science education standards that emphasize algorithmic thinking, data representation, and programming fundamentals essential for building computational problem-solving skills.
See more
Student preview

14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
coffee = "kona"
tea = "mango"
smoothie = "raspberry"
coffee = "raspberry"
tea = "mango"
smoothie = "kona"
coffee = "kona"
tea = "kona"
smoothie = "kona"
coffee = ["kona", "mango", "raspberry"]
tea = ["kona", "mango", "raspberry"]
smoothie = ["kona", "mango", "raspberry"]
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
I only
II only
Both I and II
Neither I nor II
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does “packing” refer to in Python?
Creating a list
Initializing variables using values from a list
Storing multiple variables’ values by putting them in a collection, like a list or tuple
Cramming as many commands as possible onto a single line
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
red = "RED"
blue = "BLUE"
green = "GREEN"
red = "BLUE"
blue = "GREEN"
green = "RED"
red = ["BLUE", "GREEN", "RED"]
blue = ["BLUE", "GREEN", "RED"]
green = ["BLUE", "GREEN", "RED"]
red = "BLUE"
blue = "BLUE"
green = "BLUE"
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
board = [1, 2, 3] + [4, 5, 6] + [7, 8, 9]
board = [1, 2, 3]
board.append([4, 5, 6])
board.append([7, 8, 9])
board = [1, 2, 3, 4, 5, 6, 7, 8, 9]
board = []
board.append([1, 2, 3])
board.append([4, 5, 6])
board.append([7, 8, 9])
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
print(my_list[1])
print(my_list[1:2])
print(my_list[1][2])
print(my_list[2][3])
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does “unpacking” refer to in Python?
Creating a list
Initializing multiple variables at a time using a collection of values
Storing multiple variables’ values by putting them in a collection, like a list or tuple
Cramming as many commands as possible onto a single line
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
Already have an account?
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Mathematics
5 questions
Triangle Congruence Theorems
Interactive video
•
9th - 12th Grade
20 questions
Triangle Congruence Theorems
Quiz
•
9th Grade
20 questions
Solving One-Step Equations
Quiz
•
6th - 9th Grade
15 questions
Graphing Systems of Equations
Quiz
•
8th - 9th Grade
20 questions
Function or Not a Function
Quiz
•
8th - 9th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
10 questions
Test Your Christmas Trivia Skills
Interactive video
•
6th - 10th Grade
17 questions
Identify Linear and Nonlinear Functions
Quiz
•
8th - 12th Grade