page-banner
Python M3-R5.1 MCQs SET-9
Q6.
निम्नलिखित कोड क्या प्रिंट करता है?<break-line><break-line>What does the following code print ?<pre><code>if 2 + 5 == 8: print("TRUE") else: print("FALSE") print("TRUE")</code></pre>
A. TRUE
B. TRUE FALSE
C. TRUE TRUE
D. FALSE TRUE
View Answer
Q7.
lstrip() मेथड का उपयोग _______ के लिए किया जाता है?<break-line><break-line>lstrip() method is used for :
A. delete all the trailing characters
B. delete all the leading characters
C. delete all the leading and trailing characters
D. delete upper case characters
View Answer
Q8.
निम्नलिखित में से क्या आउटपुट होगा?<break-line><break-line>What will be the output of the following?<pre><code>print((range(4)))</code></pre>
A. 0,1,2,3
B. [0,1,2,3]
C. range(0,4)
D. (0,1,2,3)
View Answer
Q9.
निम्नलिखित में से कौन सी परिवर्तनीय घोषणा गलत है?<break-line><break-line>Which of the following variable declaration is incorrect ?
A. a_=3
B. _a=3
C. a?=3
D. All of these
View Answer
Q10.
फ्लो चार्ट में, निम्नलिखित में से किसका उपयोग स्थिति का परीक्षण करने के लिए किया जाता है?<break-line><break-line>In a flow chart, which of the following is used to test the condition ?
A. Terminal
B. Process
C. Input/Output
D. Decision
View Answer