With reference to file handling in Python, which of the following statements are true?

a. The open() function does not create a new file if the file does not exist.

b. Files are opened in text mode by default.

c. The offset position when a file is opened in <+a> mode is end of file.

d. The file pointer is at the start of the file only when opened in and modes.

1

b, c

2
a, c, d
3
b, d
4
a, b, c, d

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation