File Handling Quiz 4 Share with others Enter details and click on Next Name Email School Name Q31. Almost all the files in our computer stored as _______ File. Text Binary CSV None of the above None Q32. Binary files are not in human readable format.(T/F) True False None Q33. .pdf and .doc are examples of _______ files. Text Binary CSV None Q34. Which module to be imported for working with binary files. load dump pickle csv None Q35. There is no delimiter to end a line in binary files.(T/F) False True None Q36. seek( ) method is used for random access to the file.(T/F) True False None Q37. Fill in the blanks in the following code of writing data in binary files. Choose the answer for statement 1 import ___________ # Statement 1rec = [ ]while True: rn = int(input("Enter")) nm = input("Enter") temp = [rn, nm] rec.append(temp) ch = input("Enter choice (Y/N)") if ch.upper == "N": breakf = open("stud.dat", "____________") #statement 2__________ .dump(rec, f) #statement 3_______.close( ) # statement 4 csv unpickle pickle load None Q38. Refer to the above code and choose the option for statement 2 w w+ wb write None Q39. Refer to the above code (Q 38)and choose the option for statement 3 unpickle write pickle None Q40. Q38. Refer to the above code and choose the option for statement 4. f rec file stud None Time's upTime is Up! Related Share with others Leave a ReplyCancel reply