True / False For Dictionaries Class 11 Computer Science (CS), Informatics Practices (IP)


1. In Python, a dictionary can have two same keys with different values.

2. In Python, a dictionary can have two same values with different keys.

3. Dictionaries are unordered set of elements.

4. A dictionary can have duplicate keys.

5. In Python, a dictionary can have two same keys or same values but cannot have two same key-value pair.

6. In Python a dictionary can neither have two same keys nor two same values.

7. Values of a dictionary can be string, integers or combination of both.

8. Key of a dictionary can be string, integer or combination of both.

9. The value of a dictionary can be accessed with help of indices.

10. A dictionary is immutable.

11. The del statement raises error if the given \ is not found in the dictionary.


Answer :-

1. False
2. True
3. True
4. False
5. False
6. False
7. True
8. True
9. False
10. False
11. True

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post