Professional Documents
Culture Documents
Dictionary QnA
Dictionary QnA
2. Is dictionary a mapping?
3. What is the meaning of traversing a dictionary?
4. What are the characteristics of a dictionary. Define any two with
examples.
5. Use of get() and item() method.
6. Use of update() command.
7. How are objects stored in a list and a dictionary?
8. When a dictionary is more useful than a list?
Answers:
1. Mapping is the relation of a value with a key value.