page-banner
Chapter-4 Operator, Expressions & Python Statement
Q16.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = 99 if m > 9 and m < 19: print('AA') elif m > 19 and m < 39: print('BB') elif m > 39 and m < 59: print('CC') else: print('DD')</code></pre>
A. CC
B. DD
C. BB
D. AA
View Answer
Q17.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m = 6 while m < 11: print(m, end='') m = m + 1</code></pre>
A. 6789
B. 5678910
C. 678910
D. 56789
View Answer
Q18.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>m, n = 2, 5 while n < 10: print(n, end=' ') m, n = n, m + n</code></pre>
A. 2 5
B. 5 8
C. 5 7 9
D. 5 7
View Answer
Q19.
एक ………………… स्टेटमेंट का उपयोग तब किया जाता है जब एक स्टेटमेंट की सिंटैक्टिक रूप से आवश्यकता होती है लेकिन आप नहीं चाहते कि कोई कोड निष्पादित हो।<break-line><break-line>A ………………… statement is used when a statement is required syntactically but you do not want any code to execute.
A. break
B. pass
C. continue
D. None of these
View Answer
Q20.
निम्नलिखित स्टेटमेंट्स के बाद आउटपुट क्या होगा?<break-line><break-line>What will be the output after the following statements?<pre><code>for m in range(6,9): if m == 8: continue print(m, end=' ')</code></pre>
A. 6 7
B. 6 7 9
C. 6 7 8
D. 6 7 8 9
View Answer