page-banner
Python M3-R5.1 MCQs SET-8
Q16.
कोडिंग के दौरान सॉफ्टवेयर की गलतियों को __________ के रूप में जाना जाता है।

Software mistakes during coding are known as __________.
A. errors
B. bugs
C. failures
D. defects
View Answer
Q17.
निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?
import numpy as np
a = np.array([[1,2,3],[4,5,6],[7,8,9]])
print(a.shape)
A. (2, 3)
B. (3, 3)
C. (1,1)
D. None of these
View Answer
Q18.
print((-3) ** 2) का आउटपुट क्या है?

What is the output of print((-3) ** 2) ?
A. -9
B. 6
C. -6
D. 9
View Answer
Q19.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What is the output of the following code ?
def say(message, times = 1):
    print(message * times)
say('Hello')
say('World', 5)
A. Hello WorldWorldWorldWorldWorld
B. Hello World5
C. Hello World,World,World,World,World
D. Hello HelloHelloHelloHelloHello
View Answer
Q20.
समांतर चतुर्भुज द्वारा प्रदर्शित की जाने वाली क्रिया को __________ कहा जाता है।

The operation represented by a parallelogram is called as __________.
A. Input/Output
B. Comparison
C. Assignment
D. Conditions
View Answer

Create Account