page-banner
Python M3-R5.1 MCQs SET-12
Q1.
निम्नलिखित expression किस मान का मूल्यांकन करता है?

What value does the following expression evaluate to ?
print(5 + 8 * ((3* 5)-9) /10)
A. 9.0
B. 9.8
C. 10
D. 10.0
View Answer
Q2.
एक निश्चित संख्या में दोहराए जाने वाले ऑपरेशन __________ द्वारा किए जाते हैं।

Operations to be repeated a certain number of times are done by __________.
A. Selection
B. Sequential
C. Simple
D. Loop
View Answer
Q3.
मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और लोकल वेरिएबल को संग्रहीत करता है?

Which part of the memory does the system store the parameter and local variables of a function call?
A. heap
B. stack
C. Uninitialized data segment
D. None of the above
View Answer
Q4.
निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?
import numpy as np
a = np.array( [2, 3, 4, 5] )
b = np.arange(4)
print(a+b)
A. [2 3 4 5]
B. [3 4 5 6]
C. [1 2 3 4]
D. [2 4 6 8]
View Answer
Q5.
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?

What is the output of below program ?
def say(message, times = 1):
    print(message * times)
say('Hello')
say('World', 5)
A. Hello WorldWorldWorldWorldWorld
B. Hello World 5
C. Hello World,World,World,World,World
D. Hello HelloHelloHelloHelloHello
View Answer

Create Account