PYTHON DICTIONARIES

Quiz
•
Computers, Other
•
11th Grade
•
Medium
Archana Pataskar
Used 533+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
A dictionary is an example of a sequence ...
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A Python dictionary stores ...
value - key pairs
key - value pairs
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following create an empty dictionary (D)?
D = dict()
D = ()
D = []
D = {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
quiz = {"Do you help out at home? ":"yes",
"Do you beleive in Santa? ":"yes"}
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
quiz = ("Do you help out at home? ":"yes" }
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You have the following dictionary definition:
d = {'foo': 100, 'bar': 200, 'baz': 300}
What method call will delete the entry whose value is 200?
delete d('bar')
d.pop("bar")
d.remove("bar")
None of the above
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Emoji Quiz - What does it mean?

Quiz
•
5th - 12th Grade
10 questions
Enola Holmes

Quiz
•
KG - Professional Dev...
15 questions
Python Tuples Review

Quiz
•
11th Grade
12 questions
Dictionary Class 11

Quiz
•
11th - 12th Grade
10 questions
Dictionary in Python

Quiz
•
11th Grade
10 questions
Python Data Types

Quiz
•
11th Grade
15 questions
August Word of the Day SHS

Quiz
•
9th - 12th Grade
15 questions
english shine ug

Quiz
•
11th 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
20 questions
Digital Citizenship

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

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

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

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade