
Python Dictionaries Reivew

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Cedra Wilson
Used 94+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following program stores the extra credit points for Mr. Villa’s students in extra_credit. Which line of code will print the name of the student who has the lowest point value?
extra_credit = {150:'Nathaniel', 50:'Sandie', 95:'Robert', 90:'Travis', 200:'LaKeisha'}
print(extra_credit(50))
print(extra_credit[95])
print(extra_credit[50])
print(extra_credit[Nathaniel])
print(extra_credit[Sandie])
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following program stores the extra credit points for Mr. Villa’s students in extra_credit. Which line of code will print the name of the student who has the highest point value?
extra_credit = {150:'Nathaniel', 50:'Sandie', 95:'Robert', 90:'Travis', 100:'LaKeisha'}
print(extra_credit(50))
print(extra_credit[150])
print(extra_credit[50])
print(extra_credit[Nathaniel])
print(extra_credit[Sandie])
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print onto the screen with the following program runs?
extra_credit = {'Sandie': 50, 'Travis': 90, 'LaKeisha': 150}
print(extra_credit['LaKeisha'])
LaKeisha
90
150
Travis
50
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print onto the screen with the following program runs?
extra_credit = {'Sandie': 50, 'Travis': 90, 'LaKeisha': 150}
print(extra_credit['Travis'])
LaKeisha
90
150
Travis
50
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you have the following dictionary, which stores the names and ages of people:
my_dictionary = { "Bo": 32, "Fiona": 28, "Carlos": 45 }
Which line correctly prints Bo’s age?
print(my_dictionary[0])
print(my_dictionary[0][1])
print(my_dictionary["Bo"])
print(my_dictionary["Bo"][1])
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you have the following dictionary, which stores the names and ages of people:
my_dictionary = { "Bo": 32, "Fiona": 28, "Carlos": 45 }
Which line correctly prints Fiona’s age?
print(my_dictionary[1])
print(my_dictionary[0][1])
print(my_dictionary["Bo"])
print(my_dictionary["Fiona"])
Similar Resources on Wayground
11 questions
Unit 2 Databases Set Task Info

Quiz
•
12th Grade
10 questions
Dictionary in Python

Quiz
•
11th - 12th Grade
11 questions
DIctionary

Quiz
•
11th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
9 questions
advanced storage techniques ( arrays , DataFrame)

Quiz
•
9th - 10th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
10 questions
Python Boolean and If

Quiz
•
9th - 12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade