page-banner
Python M3-R5.1 MCQs SET-4
Q21.
निम्नलिखित कथन में 'f' क्या है?<break-line><break-line>What is 'f' in the following statement?<break-line><break-line><pre><code>f=open("Data.txt", "r")</code></pre>
A. File Handle
B. File Name
C. Mode of file
D. File Handling
View Answer
Q22.
फ्लो चार्ट और एल्गोरिदम का उपयोग __________ के लिए किया जाता है<break-line><break-line>Flow charts and Algorithms are used for__________
A. Better Programming
B. Optimized Coding
C. Systematic testing
D. All the above
View Answer
Q23.
पायथन भाषा में, निम्नलिखित में से किसे वेरिएबल के रूप में परिभाषित नहीं किया जा सकता है?<break-line><break-line>In python language, which of the following cannot be defined as a variable?
A. _ val
B. try
C. val
D. _ try _
View Answer
Q24.
बाइनरी मोड में डेटा लिखने के लिए किस फ़ंक्शन का उपयोग किया जाता है?<break-line><break-line>Which function is used to write data in binary mode?
A. write
B. dump
C. writelines
D. pickle
View Answer
Q25.
निम्नलिखित कोड सेगमेंट क्या प्रिंट करेगा?<break-line><break-line>What will the following code segment print?<break-line><break-line><pre><code>if True or True: if False and True or False: print('A') elif False and False or True and True: print('B') else: print('C') else: print('D')</code></pre>
A. A
B. B
C. C
D. D
View Answer