page-banner
Python M3-R5.1 MCQs SET-10
Q16.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>from math import * floor(3.7)</code></pre>
A. 3
B. 4
C. 3.0
D. None of these
View Answer
Q17.
पायथन प्रोग्राम कमांड लाइन से कितने arguments स्वीकार कर सकता है?<break-line><break-line>How many arguments a Python program can accept from the command line ?
A. one
B. Two
C. Three
D. Any
View Answer
Q18.
निम्नलिखित का आउटपुट क्या है?<break-line><break-line>What is the output of the following ?<pre><code>print(int())</code></pre>
A. Any random number
B. 1
C. Zero
D. Error
View Answer
Q19.
निम्नलिखित कोड का परिणाम क्या है?<break-line><break-line>What is the output of the following code ?<pre><code>a = set('dcma') b = set('mlpc') print(a^b)</code></pre>
A. {'d', 'c', 'm', 'a', 'm', 'l', 'p', 'c'}
B. {'m', 'l', 'p', 'c'}
C. {'d', 'c', 'm', 'a'}
D. None
View Answer
Q20.
निम्नलिखित कथन का आउटपुट क्या है?<break-line><break-line>What is the output of the following statement ?<pre><code>print((2, 4) + (1, 5))</code></pre>
A. (2 , 4), (4 , 5)
B. (3 , 9)
C. (2, 4, 1, 5)
D. Invalid Syntax
View Answer