Q21. पाइथन सॉफ्टवेयर को किस प्रकार से डाउनलोड किया जा सकता हैं?
How to download Python software?
(A) From google (गूगल से)
(B) From any web browser (किसी भी वेब ब्राउज़र से)
(C) From Youtube (यूट्यूब से)
(D) All of these (ये सभी)
Answer- (B) From any web browser (किसी भी वेब ब्राउज़र से)
Q22. पाइथन में आरक्षित कीवर्ड का चयन करें?
Select the reserved keyword in Python.
(A) import
(B) print
(C) else
(D) All of these (ये सभी)
Answer- (D) All of these (ये सभी)
Q23. एक निश्चित कैरेक्टर के साथ शुरू होने वाली लाइनें, जिन्हें कम्पाइलर द्वारा अनदेखा किया जाता हैं और execute भी नहीं किया जाता। उन्हें कहा जाता हैं-
The lines beginning with a certain character and which are ignored by a compiler and not executed, are called-
(A) Operands
(B) Operators
(C) Comments
(D) None of these (इनमें से कोई नहीं)
Answer- (C) Comments
Q24. निम्नलिखित में से कौन-सा एक न्यूलाइन कैरेक्टर के लिए escape sequence हैं?
Which of the following is an escape sequence for a newline character?
(A) \a
(B) \t
(C) \n
(D) \m
Answer- (C) \n
Q25. निम्नलिखित में से कौन-सा एक टैब कैरेक्टर के लिए escape sequence हैं?
Which of the following is an escape sequence for a tab character?
(A) \n
(B) \t
(C) \p
(D) \o
Answer- (B) \t
Q26. निम्नलिखित में से कौन-सा पाइथन फ़ाइल का सही एक्सटेंशन हैं?
Which of the following is the correct extension of the python file?
(A) .pl
(B) .python
(C) .py
(D) .p
Answer- (C) .py
Q27. 4 + 3 % 5 पाइथन expression की वैल्यू क्या होगी?
What will be the value of 4 + 3 % 5 Python expression?
(A) 5
(B) 7
(C) 9
(D) 0
Answer- (B) 7
Q28. निम्न पाइथन फंक्शन का आउटपुट क्या होगा? – min(max(False, -3, -4), 2, 7)
What will be the output of the following python function? – min(max(False, -3, -4), 2, 7)
(A) False
(B) -2
(C) -3
(D) -4
Answer- (A) False
Q29. पाइथन में strings के साथ कौन से अंकगणितीय ऑपरेटरों का उपयोग नहीं किया जा सकता हैं?
What arithmetic operators cannot be used with strings in Python?
(A) –
(B) +
(C) ×
(D) ÷
Answer- (A) –
Q30. सूची में एक नया element जोड़ने के लिए हम किस पाइथन कमांड का उपयोग करते हैं?
To add a new element to a list we use which python command?
(A) list1.addLast(5)
(B) list1.addEnd(5)
(C) list1.append(5)
(D) list1.add(5)
Answer- (C) list1.append(5)