Q31. Almost all the files in our computer stored as _______ File.
Q32. Binary files are not in human readable format.(T/F)
Q33. .pdf and .doc are examples of _______ files.
Q34. Which module to be imported for working with binary files.
Q35. There is no delimiter to end a line in binary files.(T/F)
Q36. seek( ) method is used for random access to the file.(T/F)
Q37. Fill in the blanks in the following code of writing data in binary files. Choose the answer for statement 1
import ___________ # Statement 1
rec = [ ]
rn = int(input("Enter"))
nm = input("Enter")
temp = [rn, nm]
ch = input("Enter choice (Y/N)")
if ch.upper == "N":
f = open("stud.dat", "____________") #statement 2
__________ .dump(rec, f) #statement 3
_______.close( ) # statement 4
Q38. Refer to the above code and choose the option for statement 2
Q39. Refer to the above code (Q 38)and choose the option for statement 3
Q40. Q38. Refer to the above code and choose the option for statement 4.