PythonPython (“50 Questions • 50 Marks One Liner MCQ Test”)September 15, 2025Com 0 15 Python Quiz 1 / 50 Python में id() फ़ंक्शन क्या बताता है? Value Type Address (Memory location) Size 2 / 50 Python में docstring कैसे लिखते हैं? # comment /* text */ ''' text ''' // text 3 / 50 Python में virtual environment बनाने का कमांड? python -venv python -m venv env pip install venv py venv 4 / 50 Python में pip का उपयोग किस लिए होता है? Program चलाने Debug करने Package install करने File बनाने 5 / 50 Python में module क्या है? Program File Function Class 6 / 50 Python में inheritance के लिए कौन सा keyword है? super inherit base class 7 / 50 Python में constructor method का नाम क्या होता है? init() init() constructor() start() 8 / 50 Python में class बनाने के लिए कौन सा keyword है? object class define structure 9 / 50 Python में def का उपयोग किसके लिए होता है? Variable Define करने Function Define करने Loop चलाने Module Import करने 10 / 50 Python में pass स्टेटमेंट का उपयोग? Skip करने Stop करने Exit करने Error देने 11 / 50 Python में list.append(10) क्या करेगा? शुरुआत में जोड़ देगा अंत में जोड़ देगा Replace करेगा Error देगा 12 / 50 Python में max("apple") का आउटपुट? a p l e 13 / 50 Python में min(2,5,1) का आउटपुट? 5 1 2 Error 14 / 50 Python में pow(2,3) का परिणाम? 6 8 9 12 15 / 50 Python में string concatenation के लिए कौन सा ऑपरेटर है? + - * / 16 / 50 Python में mutable डेटा टाइप कौन सा है? Tuple List String Integer 17 / 50 Python में सबसे छोटा unit क्या है? Program Function Statement Token 18 / 50 Python में list को sort करने का method? order() sort() arrange() set() 19 / 50 Python में while loop कब तक चलता है? Condition true होने तक Condition false होने तक एक बार Infinite 20 / 50 Python में for loop किसके लिए उपयोग होता है? Repetition Decision Making Error Handling Variable Declaring 21 / 50 Python में default file mode क्या है? r w a rb 22 / 50 Python में open() फ़ंक्शन किसके लिए है? Program खोलने File खोलने Module Import करने Browser खोलने 23 / 50 Python में import math का उपयोग? String functions Mathematical functions Graphics functions File handling 24 / 50 Python में try-except किसके लिए है? Looping Error Handling Variable Declare Function Define 25 / 50 Python में slicing किसके लिए होती है? Divide करने Sub-part निकालने Merge करने Sorting 26 / 50 Python में कौन सा डेटा स्ट्रक्चर key-value pair रखता है? List Tuple Dictionary Set 27 / 50 Python में len() फ़ंक्शन क्या करता है? लंबाई बताता है जोड़ता है घटाता है Multiplies 28 / 50 Python में integer division (//) का परिणाम क्या होता है? Float String Integer Error 29 / 50 Python में input() फ़ंक्शन क्या करता है? Output दिखाता है User से इनपुट लेता है Variable बनाता है None 30 / 50 Python में string immutable होती है या mutable? Mutable Immutable दोनों कोई नहीं 31 / 50 Python में "None" का अर्थ क्या है? 0 Null Value False Empty String 32 / 50 continue स्टेटमेंट क्या करता है? लूप को रोकता है अगले iteration पर ले जाता है Error देता है Program बंद करता है 33 / 50 break स्टेटमेंट का उपयोग? लूप खत्म करने लूप जारी रखने फ़ंक्शन कॉल करने वेरिएबल डिफाइन करने 34 / 50 Python में set किस ब्रैकेट से बनता है? () [] <> {} 35 / 50 Python का डिफ़ॉल्ट इंटरप्रेटर क्या है? Jython IronPython CPython PyPy 36 / 50 Python में Boolean मान कौन से हैं? Yes, No True, False 1, 0 Right, Wrong 37 / 50 Python में डिक्शनरी किससे बनती है? [] () {} <> 38 / 50 Python में "Hello" प्रिंट करने का सही तरीका क्या है? echo("Hello") print("Hello") printf("Hello") write("Hello") 39 / 50 Python में डेटा टाइप चेक करने का फ़ंक्शन कौन सा है? datatype() check() type() typeof() 40 / 50 Python किस प्रकार की भाषा है? Procedural Object-Oriented Functional उपरोक्त सभी 41 / 50 Python में ट्यूपल (Tuple) कैसे लिखते हैं? [] {} () <> 42 / 50 Python में लिस्ट किससे बनती है? () [] {} <> 43 / 50 Python में कमेंट लिखने के लिए कौन सा चिन्ह प्रयोग होता है? // /* */ # <!-- --> 44 / 50 Python का नवीनतम वर्ज़न (2025 तक) कौन सा है? 3.7 3.8 3.9 3.12 45 / 50 Python में कोड ब्लॉक कैसे पहचाना जाता है? Indentation Quotes "" Semicolon ; Brackets {} 46 / 50 Python किस टाइपिंग को सपोर्ट करता है? Static typing Manual typing Dynamic typing Weak typing 47 / 50 Python फाइल का एक्सटेंशन क्या होता है? .p .py .pt .pp 48 / 50 Python किस वर्ष में रिलीज़ हुई? 1989 1991 1995 2000 49 / 50 Python का निर्माता कौन है? Charles Babbage Guido van Rossum James Gosling Dennis Ritchie 50 / 50 Python किस प्रकार की भाषा है? Low level High level Machine level Assembly Your score is LinkedIn Facebook Twitter VKontakte Share on: Tally (“50 Questions • 50 Marks One Liner MCQ Test”)Flutter (“50 Questions • 50 Marks One Liner MCQ Test”)