Computer Science · Python Programming
Consider the following Python command: File = open('Myfile.txt', 'a') Which of the following statements CANNOT be true regarding the file object or operation?
- 1'Myfile.txt' will be created automatically if it does not exist
- 2The file 'Myfile.txt' is opened exclusively in read-only mode✓
- 3Data will be appended at the end of the existing file content
- 4'Myfile.txt' can be a text file
Correct answer
The file 'Myfile.txt' is opened exclusively in read-only mode
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Programming