Computer Science · Python Data Structures
पाइथन (Python) की मेमोरी में टुपल्स (Tuples) लिस्ट (Lists) से किस प्रकार भिन्न हैं, जिससे वे डिक्शनरी कीज़ (Dictionary Keys) के रूप में कार्य करने के लिए उपयुक्त बनते हैं?
- 1टुपल्स होमोजेनियस होते हैं जबकि लिस्ट्स हेट्रोजेनियस होती हैं।
- 2टुपल्स का मूल्यांकन रनटाइम पर किया जाता है जबकि लिस्ट्स का कंपाइल टाइम पर।
- 3टुपल्स इम्यूटेबल (अपरिवर्तनीय) और हैशेबल होते हैं, जबकि लिस्ट्स म्यूटेबल और अनहैशेबल होती हैं।✓
- 4टुपल्स आंतरिक रूप से लिंक्ड लिस्ट का उपयोग करते हैं जबकि लिस्ट्स डायनेमिक एरे का उपयोग करती हैं।
सही उत्तर देखें
टुपल्स इम्यूटेबल (अपरिवर्तनीय) और हैशेबल होते हैं, जबकि लिस्ट्स म्यूटेबल और अनहैशेबल होती हैं।
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Data Structures?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Data Structures