A dictionary in Python holds data items as:
AKey volume pairs
BKey value pairs
CKey vector pairs
DKey vertex pairs
Answer & Solution
Correct answer: B. Key value pairs
1. A dictionary is looked up by name rather than position.
2. Each entry therefore has two parts.
3. A dictionary in Python holds data items in key-value pairs.
4. So the answer is key value pairs.
_Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_
Keep practising Python Programming
Browse all Python Programming questions for BCA, or explore more Computer Science topics.