PYTHON DICTIONARIES

Quiz
•
Computers, Other
•
11th Grade
•
Medium
Archana Pataskar
Used 534+ 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
Konseptong Pangwika (Aralin 1)

Quiz
•
11th Grade
13 questions
Cyber Camp 6

Quiz
•
11th Grade
10 questions
Data structures, operators and variables

Quiz
•
9th - 12th Grade
10 questions
Մոդուլներ

Quiz
•
11th Grade
10 questions
Dictionary1

Quiz
•
11th - 12th Grade
10 questions
Mashdemy 1-5 AI/ML

Quiz
•
9th - 12th Grade
13 questions
Arrays in Swift

Quiz
•
10th - 12th Grade
15 questions
Easy Riddles

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade