
9.6.1 Extending Data Structures Quiz
Authored by Tommy Rankin
Mathematics
9th - 12th Grade
CCSS covered
Used 366+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
About
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.
Content View
Student View
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
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?
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Mathematics
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
10 questions
Finding Area and Circumference of a Circle
Interactive video
•
6th - 10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
Combine Like Terms and Distributive Property
Quiz
•
8th - 9th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
20 questions
Systems of Equations - Substitution
Quiz
•
9th Grade