Q.1.
Which is/are the basic I/O connections in file?
Q.2.
Which of the following mode will refer to binary data?
Q.3.
What is the pickling?
Q.4.
What is unpickling?
Q.5.
What is the correct syntax of open() function?
Q.6.
What will be the output of the following Python code? fo = open("foo.txt", "wb")print "Name of the file: ", fo.namefo.flush()fo.close()
Q.7.
Correct syntax of file.writelines() is?
Q.8.
Correct syntax of file.readlines() is?