
PYTHON DICTIONARIES
Authored by Archana Pataskar
Computers, Other
11th Grade
Used 592+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
What data type is this?
quiz = {"Do you help out at home? ":"yes",
"Do you beleive in Santa? ":"yes"}
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which symbol surrounds a dictionary?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
is this code correct?
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
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?
Similar Resources on Wayground
10 questions
Stratégies globales
Quiz
•
11th - 12th Grade
16 questions
Rules of Conduct Quiz
Quiz
•
11th - 12th Grade
13 questions
Introduction à l'informatique
Quiz
•
9th - 11th Grade
15 questions
REVISION-Primary & Secondary Storage
Quiz
•
10th - 11th Grade
12 questions
The Muscles Explained
Quiz
•
8th - 12th Grade
16 questions
Adopt me Questions #1
Quiz
•
KG - University
17 questions
free fire
Quiz
•
1st - 12th Grade
12 questions
Effect of ICT
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade