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"})
Create a free account and access millions of resources
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
20 questions
TEMA 4 (GLOBALISASI dan MANFAATNYA) KELAS 6
Quiz
•
6th Grade
19 questions
Intervalos
Quiz
•
1st - 10th Grade
10 questions
Vocabulary Unit 2 Impact 2
Quiz
•
7th Grade
10 questions
Can You Guess It?
Quiz
•
4th - 6th Grade
10 questions
La guitarra
Quiz
•
4th Grade
11 questions
Clash Of Clans
Quiz
•
1st - 10th Grade
16 questions
Signo de puntuación
Quiz
•
1st Grade - University
16 questions
ÔN TẬP TIN 2023-2024
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
