page-banner
Chapter-7 File Processing
Q26.
निम्नलिखित में से कौन सा फ़ाइल में बेसिक I/O कनेक्शन है<break-line><break-line>Which of the following is the basic I/O connections in file?
A. Standard Input
B. Standard Output
C. Standard Errors
D. सभी वर्णित/All of the mentioned
View Answer
Q27.
कौन सा फ़ंक्शन स्ट्रिंग्स लौटाता है?<break-line><break-line>Which function returns the strings?
A. readline()
B. read()
C. दोनों उपरोक्त/Both of above
D. इनमें से कोई नहीं/None of these
View Answer
Q28.
इनमें से कौन सी फ़ाइल की विशेषता नहीं है?<break-line><break-line>Which one is not the attribute of a file?
A. softspace
B. mode
C. closed
D. rename
View Answer
Q29.
निम्नलिखित में से कौन सा फ़ाइल खोलने का सही तरीका नहीं है?<break-line><break-line>Which of the following is not a correct mode to open a file?
A. ab
B. rw
C. a+
D. r+
View Answer
Q30.
किसी फ़ाइल का नाम बदलने के लिए प्रयुक्त सिंटैक्स:<break-line><break-line>The syntax used to rename a file:
A. os.rename(existing_name, new_name)
B. fp.name = “new_name.txt”
C. os.rename(fp, new_name)
D. os.set_name(existing_name, new_name)
View Answer