Python 05 Dictionary/2D List
Quiz
•
Other
•
4th - 8th Grade
•
Practice Problem
•
Hard
codeJuniors codeJuniors
Used 11+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#How to you define an empty dictionary called myDict
myDict = " "
myDict = 0
myDict = [ ]
myDict = { }
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#Which is the key and value
car = {"Brand" : "BMW"}
Key: Brand. Value: BMW
Key BMW, Value: Brand
{"Brand" : "BMW"}
"Brand" : "BMW"
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#Can the keys in a dictionary be the same name?
Yes
No
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#What is the output?
3
a,b,c
amt,bull,cow
6
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#What is the output?
"A", "B", "C"
"Apple", "Banana","Carrot"
"A": "Apple", "B": "Banana", "C":"Carrot"
Error
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#What is the output?
"Apple", "Banana", "Carrot"
"A","B","C"
"A": "Apple", "B": "Banana", "C":"Carrot"
Error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#How to print "Apple"
myDict = {"A": "Apple", "B": "Banana", "C":"Carrot"}
print(myDict["A"])
print(myDict[0])
print(myDict{0})
print(myDict{"A"})
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
14 questions
MCU Hard.
Quiz
•
KG - 5th Grade
20 questions
SBDP TEMA 3 KELAS 6
Quiz
•
6th Grade
20 questions
Trường Tiểu học Lê Quý Đôn.Ôn tập CHKII môn Tin học lớp 5.
Quiz
•
5th Grade
12 questions
Çember
Quiz
•
6th Grade
20 questions
GK Level 1(E-G)
Quiz
•
1st - 8th Grade
20 questions
Sbdp tema 7 kelas 4
Quiz
•
4th Grade
10 questions
Warm-up Week 1
Quiz
•
6th Grade
10 questions
Edukasyon Sa Pagpapakatao
Quiz
•
7th 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
Discover more resources for Other
25 questions
Multiplication Facts
Quiz
•
5th 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
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
20 questions
Exponents
Quiz
•
6th Grade
9 questions
Point of View
Quiz
•
3rd - 4th Grade
