page-banner
Python M3-R5.1 MCQs SET-4
Q16.
लूप के अंदर की सामग्री ______ द्वारा अलग की जाती है:<break-line><break-line>The contents inside the 'for loop' are separated by:
A. colon
B. semicolon
C. comma
D. hyphen
View Answer
Q17.
निम्न में से किसमें डाटा स्थायी रूप से स्टोर किया जाता है?<break-line><break-line>In which of the following, data is stored permanently?
A. Variable
B. File
C. Both of the above
D. None of the above
View Answer
Q18.
______ सूचना को मानव पठनीय अर्थात ASCII या यूनिकोड वर्णो की एक स्ट्रीम के रूप में संग्रहित करती है।<break-line><break-line>A _______ stores information in the form of a stream of ASCII or Unicode characters, i.e., human readable.
A. Text file
B. Binary file
C. Both (A) and (B)
D. None of these
View Answer
Q19.
निम्नलिखित कोड के लिए आउटपुट क्या होगा?<break-line><break-line>What will be output for the following code?<break-line><break-line><pre><code>import numpy as np a = np.array([1,2,3,5,8]) print(a.ndim)</code></pre>
B. 1
C. 2
D. 3
View Answer
Q20.
निम्नलिखित में से कौन सा पायथन में मान्य स्ट्रिंग मैनिपुलेशन फंक्शन है?<break-line><break-line>Which of the following are valid string manipulation functions in Python?
A. count()
B. strip()
C. upper()
D. All of the above
View Answer