Answers Already Passed
Python supports reading files in binary mode.
✔✔True
The `with` statement is not recommended for handling files.
✔✔False
You can write text to a file using the `write()` method.
✔✔True
The `readlines()` method returns a list of strings, where each string represents a line in the file.
✔✔True
Python can only handle text files, not binary files.
✔✔False
1
, The `close()` method is mandatory when using the `with` statement.
✔✔False
You can specify the encoding of a file while opening it in Python.
✔✔True
The default file mode in Python is "write mode."
✔✔False
Files opened in read mode cannot be written to.
✔✔True
The `seek()` method can move the file pointer to a specific position.
✔✔True
The `tell()` method returns the current position of the file pointer.
✔✔True
2