Python Day 9
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Ninitha C
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the following code snippet? a_dict = {'color': 'blue', 'fruit': 'apple', 'pet': 'dog'} for key in a_dict: print(key)
2.
MULTIPLE CHOICE QUESTION
30 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?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dictionary keys must be immutable
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Suppose d = {“john”:40, “peter”:45}, what happens when we try to retrieve a value using the expression d[“susan”]?
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Ouput?
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following statements create a dictionary?
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
Introduction to NumPy (easy)
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
10 questions
MS Excel - Day 04
Quiz
•
University
10 questions
Komdat Chap 2
Quiz
•
University
10 questions
ITESA Roadmap Event 12-09-24
Quiz
•
University
10 questions
CH 12- Defense in Depth
Quiz
•
University
10 questions
POP QUIZ 4 (DFC40243)
Quiz
•
University
10 questions
Implementing Mass Storage Application
Quiz
•
10th Grade - University
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
