Which of the following is a mapped data type?
2025
Which of the following is a mapped data type?
- A.
List
- B.
Sets
- C.
Dictionary
- D.
Boolean
Attempted by 143 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.