page-banner
Python M3-R5.1 MCQs SET-17
Q16.
पायथन में NumPy का उद्देश्य क्या है?

What is the purpose of NumPy in Python?
A. To do numerical calculations
B. To do scientific computing
C. Both A and B
D. None of the mentioned above
View Answer
Q17.
आउटपुट क्या होगा?

What will be the output?
def f(x,y,z):
    return x+ y+ z
f(2,30,400)
A. 432
B. 24000
C. 430
D. No output
View Answer
Q18.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?
from numpy import random
x = random.randint(100)
print(x)
A. 56
B. 26
C. 40
D. All of the mentioned above
View Answer
Q19.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following python code?
min = (lambda x,y: x if x<y else y)
print(min(101*99, 102*98))
A. 9997
B. 9999
C. 9996
D. None of the mentioned
View Answer
Q20.
निम्नलिखित में से कौन सा निर्णय लेने वाला कथन नहीं है:

Which of following is not a decision-making statement:
A. if-elif statement
B. for statement
C. if -else statement
D. if statement
View Answer

Create Account