Which of the following is a mapped data type?
2025
Which of the following is a mapped data type?
Answer: C. Dictionary — A mapped data type stores elements using a key–value association, allowing access via keys instead of indices. In Python, a dictionary (dict) is the primary…
- A.
List
- B.
Sets
- C.
Dictionary
- D.
Boolean
Attempted by 362 students.
Show answer & explanation
Correct answer: C
A mapped data type stores elements using a key–value association, allowing access via keys instead of indices.
In Python, a dictionary (dict) is the primary mapped type, implementing a hash-based mapping structure.
Loading lesson…