page-banner
Chapter-4 Operator, Expressions & Python Statement
Q41.
निम्नलिखित स्टेटमेंट का आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>a = 0 b = 3 while a + b < 8: a += 1 print(a, end=' ')</code></pre>
A. 0 1 2 3 4
B. 1 2 3 4 5 6
C. 1 2 3 4 5
D. None of these
View Answer
Q42.
निम्नलिखित कोड का आउटपुट क्या होगा?<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
Q43.
निम्नलिखित एक्सप्रेशन का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following expression?<pre><code>a = 2 b = 8 print(a | b) print(a >> 1)</code></pre>
A. 10 0
B. 10 2
C. 2 2
D. 10 1
View Answer
Q44.
निम्नलिखित एक्सप्रेशन का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python Code?<pre><code>x = 'abcd' for i in x: print(i.upper())</code></pre>
A. a B C D
B. a b c d
C. Error
D. A B C D
View Answer
Q45.
निम्नलिखित कोड क्या प्रिंट करेगा ?<break-line><break-line>What does the following code print?<pre><code>x = 'mohan' for i in range(len(x)): x[i].upper() print (x)</code></pre>
A. mohan
B. MOHAN
C. Error
D. None of these
View Answer