Computer Science
The correct syntax of seek() is :
- file_object.seek(offset[, referencepoint])
- seek(offset[, reference_point])
- seek(offset, file_object)
- seek.file_object(offset)
Related Questions
Which of the following statement is incorrect in the context of pickled binary files ?
- The csv module is used for reading and writing objects in binary files.
- The pickle module is used for reading and writing objects in binary files.
- The load() of the pickle module is used to read objects.
- The dump() of the pickle module is used to write objects.
What is the significance of the seek() method ?
- It seeks the absolute path of the file.
- It tells the current byte position of the file pointer within the file.
- It places the file pointer at a desired offset within the file.
- It seeks the entire content of the file.
Fill in the blanks:
The default file-open mode is _________ mode.
Fill in the blanks:
A _________ governs the type of operations (e.g., read/write/append) possible in the opened file.