Font size
WorksheetsPython Binary File
Total questions: 15
Worksheet time: 12mins
Mode refer to binary data
w
b
+
a
Mode used for reading and writing in binary file
wb
w
wb+
w+
Function used to write data in binary format
write()
output()
load()
dump()
The type of operation possible in an opened file is governed by
File Object
File Mode
File Path
open() Method
The other name for file object is
(a)
Module used to read and write into binary files
dump
load
pickle
open
Method used to read data from a binary file
(a)
Conversion of an object hierarchy in byte stream is
(a)
File path from the topmost level of the directory structure
(a)
File path relative to current working directory
(a)
Writing onto a binary file using dump() performs
(a)
Reading from a binary file using dump() method performs
(a)
Function returns the current position of file pointer in the file
tell()
seek()
read()
flush()
Which function places the file pointer at the specified position in the open file
(a)
Statements which can handle runtime exceptions
(a)
