CBSE Class 11 Informatics Practices Question 18 of 66

Dictionary — Question 1

Back to all questions
1
Question

Question 1

Which of the statement(s) is/are correct?

  1. In Python dictionary, the key-value pair is called an item.
  2. Python dictionary is a mapping of unique keys to values.
  3. Dictionary is mutable.
  4. All of these.
Answer

All of these.

Reason — A dictionary is mutable and consists of elements in the form of key-value pairs, where each pair is termed an item. It maps unique keys to values.