page-banner
Python M3-R5.1 MCQs SET-12
Q1.
निम्नलिखित expression किस मान का मूल्यांकन करता है?<break-line><break-line>What value does the following expression evaluate to ?<pre><code>print(5 + 8 * ((3* 5)-9) /10)</code></pre>
A. 9.0
B. 9.8
C. 10
D. 10.0
View Answer
Q2.
एक निश्चित संख्या में दोहराए जाने वाले ऑपरेशन __________ द्वारा किए जाते हैं।<break-line><break-line>Operations to be repeated a certain number of times are done by __________.
A. Selection
B. Sequential
C. Simple
D. Loop
View Answer
Q3.
मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और लोकल वेरिएबल को संग्रहीत करता है?<break-line><break-line>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.
निम्नलिखित का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following ?<pre><code>import numpy as np a = np.array( [2, 3, 4, 5] ) b = np.arange(4) print(a+b)</code></pre>
A. [2 3 4 5]
B. [3 4 5 6]
C. [1 2 3 4]
D. [2 4 6 8]
View Answer
Q5.
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?<break-line><break-line>What is the output of below program ?<pre><code>def say(message, times = 1): print(message * times) say('Hello') say('World', 5)</code></pre>
A. Hello WorldWorldWorldWorldWorld
B. Hello World 5
C. Hello World,World,World,World,World
D. Hello HelloHelloHelloHelloHello
View Answer