
Dictionary Class 11
Authored by Parveena undefined
Computers
11th - 12th Grade
Used 71+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions will return the key, value pairs of a dictionary?
keys()
values()
items()
all of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which value is assigned to keys, if no value is specified with the fromkeys() method?
0
1
None
any of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dictionaries are ________ data types if Python
mutable
immutable
simple
all of thses
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function returns the number of items in the dictionary?
len()
get()
values()
keys()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of
d={'a':1,'b':2,"c":3}
print(d[0])
a
b
c
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed by the following statement?
d={"cat":12,"dog":6,"elephant":23,"bear":20}
print("dog" in d)
True
False
Error
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed by the following statement?
d={"cat":12,"dog":6,"elephant":23,"bear":20}
print("dog" in d.values())
True
False
Error
None
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
16 questions
Microcontrolere Noțiuni generale. Structura internă
Quiz
•
KG - 12th Grade
10 questions
Treasure Hunt
Quiz
•
12th Grade
10 questions
Microsoft Excel էլեկտրոնային աղյուսակ
Quiz
•
12th Grade
9 questions
11 сыныпқа арналған тест тапсырмалары
Quiz
•
11th Grade
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
10 questions
DTJSQuiz
Quiz
•
11th 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