Test Index

Python Revision Tour Get it on Google PlayDownload on the App Store CBSE Board Videos

© examsnet.com
Question : 45 of 102
Marks: +1, -0
Which of the following is a mapped data type ?
[CBSE 2025 Compartment]
Solution:  
Concept:
A mapping data type stores data as key : value pairs, where each key is mapped to a value.
Explanation:
The dictionary is Python's mapping type, e.g. {'roll': 12, 'name': 'Asha'}.
A list is a sequence (accessed by position), a set is an unordered collection of unique items, and Boolean holds only True/False.
Answer:
Option C (Dictionary)
© examsnet.com
Advertisements
Go to Question: