Important Notice:
M3-R5.1 — Dictionaries MCQ
21 Questions  •  M3-R5.1
20:00
← Back
1
A dictionary in Python stores?
2
Dictionary is created using?
3
To access value for key "name" in dict d?
4
dict.keys() returns?
5
dict.values() returns?
6
dict.items() returns?
7
To delete a key from a dict?
8
Dictionary keys must be?
9
len({"a":1,"b":2}) returns?
10
To check if key "x" exists in dict d?
11
Dictionary is created with?
12
Dictionary stores data as?
13
dict.get(key) returns?
14
dict.update(dict2) does?
15
del dict[key] does?
16
dict.pop(key) does?
17
Can dictionary have duplicate keys?
18
len({"a":1, "b":2, "c":3}) returns?
19
"key" in dict checks?
20
dict.clear() does?
21
Dictionary comprehension syntax?
Answered: 0 / 21