page-banner
Python M3-R5.1 MCQs SET-4
Q6.
रिकर्सिव फंक्शन है __________<break-line><break-line>Recursive function is____________
A. A function that calls itself
B. A function that calls other functions
C. Both (A) and (B)
D. None of the above
View Answer
Q7.
लिस्ट में एक एलिमेंट (5) जोड़ने के लिए किस फंक्शन का उपयोग किया जाता है?<break-line><break-line>Which function is used to add an element (5) in the list?
A. listl.sum(5)
B. listl.add(5)
C. listl.append(5)
D. listl.addelement(5)
View Answer
Q8.
निम्नलिखित कोड के लिए आउटपुट क्या होगा?<break-line><break-line>What will be output for the following code?<break-line><break-line><pre><code>import numpy as np ary = np.array([1,2,3,5,8]) ary = ary + 1 print (ary[1])</code></pre>
B. 1
C. 2
D. 3
View Answer
Q9.
बाइनरी फ़ाइल में जानकारी किस प्रारूप में होती है?<break-line><break-line>In which format does a Binary file contain information?
A. Quick response code
B. Same format in which the data is held in memory
C. ASCII format
D. Unicode format
View Answer
Q10.
पाइथॉन फाइल का सही एक्‍सटेंशन है __________<break-line><break-line>The correct extension of the Python file is____________
A. .py
B. .python
C. .pyth
D. None of these
View Answer