
9.6.1 Extending Data Structures Quiz
Authored by Tommy Rankin
Mathematics
9th - 12th Grade
CCSS covered
Used 372+ 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
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Mathematics
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
15 questions
Combine Like Terms and Distributive Property
Quiz
•
8th - 9th Grade
20 questions
Function or Not a Function
Quiz
•
8th - 9th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
10 questions
Elijah McCoy: Innovations and Impact in Black History
Interactive video
•
6th - 10th Grade
10 questions
Evaluating Piecewise Functions Practice
Quiz
•
11th Grade
21 questions
Factoring Trinomials (a=1)
Quiz
•
9th Grade