page-banner
Chapter-4 Operator, Expressions & Python Statement
Q21.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = 36 / 4 % 2 * 5**3 print(m)</code></pre>
A. 125.0
C. 36
D. 14.0
View Answer
Q22.
निम्नलिखित का आउटपुट क्या है?<break-line><break-line>What is the output of the following?<pre><code>x = 123 for i in x: print(i)</code></pre>
A. 1 2 3
B. 123
C. Error
D. None of these
View Answer
Q23.
निम्नलिखित का आउटपुट क्या है?<break-line><break-line>What is the output of the following?<pre><code>m = 0 while m < 5: print(m) m+=1 if m == 3: break else: print(0)</code></pre>
A. 0 1 2 0
B. 0 1 2
C. 0 0 1 0 2
D. Error
View Answer
Q24.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = 20 * 10 // 30 n = 20 * 10.0 // 40 o = 20.0 * 10 / 50 print(m, n, o)</code></pre>
A. 6.5 5.0 4.5
B. 6.0 5.0 4
C. 5 6.0 4.0
D. 6 5.0 4.0
View Answer
Q25.
पायथन भाषा में, निम्नलिखित में से कौन सा ऑपरेटर k को घात 1 तक बढ़ाने के लिए सही विकल्प है?<break-line><break-line>In Python language, which of the following operators is the correct option for raising k to the power 1?
A. k ^ 1
B. k ** 1
C. k ^^ 1
D. k ^ * 1
View Answer