page-banner
Python M3-R5.1 MCQs SET-12
Q16.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>from math import pow print(math.pow(2,3))</code></pre>
A. Nothing is printed
B. 8
C. Error, method pow doesn’t exist in math module
D. Error, the statement should be: print(pow(2, 3))
View Answer
Q17.
निम्नलिखित expression का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following expression ?<pre><code>x = 4 print(x << 2)</code></pre>
A. 4
B. 16
C. 6
D. 2
View Answer
Q18.
निम्नलिखित कोड का परिणाम क्या है?<break-line><break-line>What is the output of the following code ?<pre><code>import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)</code></pre>
A. 1
B. 2
C. 3
View Answer
Q19.
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:<break-line><break-line>A computer program that manages and controls a computer's activity :
A. इंटरप्रेटर /Interpreter
B. मॉडेम /Modem
C. कम्पाइलर /Compiler
D. ऑपरेटिंग सिस्टम /Operating system
View Answer
Q20.
निम्नलिखित expression का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following expression ?<pre><code>print(7//2) print(-7//2)</code></pre>
A. 3 -3
B. 4 -4
C. 3 -4
D. 3 3
View Answer