page-banner
Chapter-7 File Processing
Q46.
यदि फ़ाइल मौजूद नहीं है तो कौन सा मोड एक नई फ़ाइल बनाता है?<break-line><break-line>Which mode creates a new file if the file does not exist?
A. write mode
B. read mode
C. append mode
D. Both a and c
View Answer
Q47.
निम्नलिखित में से कौन फ़ाइल की संपूर्ण सामग्री को पढ़ेगा (फ़ाइल ऑब्जेक्ट 'f')<break-line><break-line>Which of the following will read entire content of file (file object ‘f’)
A. f.reads()
B. f.read()
C. f.read(all)
D. f.read(*)
View Answer
Q48.
बाइनरी फ़ाइल में किस प्रारूप में जानकारी होती है?<break-line><break-line>In which format Binary file contains information?
A. क्विक प्रतिक्रिया कोड/Quick response code
B. वही प्रारूप जिसमें डेटा मेमोरी में रखा जाता है/Same format in which the data is held in memory
C. एएससीआईआई प्रारूप/ASCII format
D. यूनिकोड प्रारूप/Unicode format
View Answer
Q49.
………………. एक जानकारी को 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
Q50.
निम्नलिखित कथन में 'f' क्या है?<break-line><break-line>What is ‘f’ in the following statement?<pre><code>f = open("Data.txt", "r")</code></pre>
A. फ़ाइल का नाम/File Name
B. फ़ाइल हैंडल/File Handle
C. फ़ाइल का मोड/Mode of file
D. फ़ाइल हैंडलिंग/File Handling
View Answer