page-banner
Python M3-R5.1 MCQs SET-12
Q16.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?
from math import pow
print(math.pow(2,3))
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 का आउटपुट क्या होगा?

What will be the output of the following expression ?
x = 4
print(x << 2)
A. 4
B. 16
C. 6
D. 2
View Answer
Q18.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code ?
import numpy as np
y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]])
print(y.ndim)
A. 1
B. 2
C. 3
View Answer
Q19.
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:

A computer program that manages and controls a computer's activity :
A. इंटरप्रेटर /Interpreter
B. मॉडेम /Modem
C. कम्पाइलर /Compiler
D. ऑपरेटिंग सिस्टम /Operating system
View Answer
Q20.
निम्नलिखित expression का आउटपुट क्या होगा?

What will be the output of the following expression ?
print(7//2)
print(-7//2)
A. 3 -3
B. 4 -4
C. 3 -4
D. 3 3
View Answer

Create Account