Test Index

CBSE Class 12 Computer Science 2025 Paper Compartment Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 6 of 37
Marks: +1, -0
Which of the following is a mapped data type ?
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: