Class 11 Computer Science Chapter 6 File Handling Quiz 39 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. What must be provided to the 'open()' function to successfully open a file?
2. What is the purpose of the delimiter in CSV files?
3. It opens the file for a write.
4. What are the advantages of using segmentation over paging?
5. What is the default mode to open a text file?
6. What is an exception
7. Which one of the following methods is used to recuperating prepared statements resources?
8. The main goal of file handling in python is-
9. Expand TSV
10. What does the 'Path()' function in the pathlib module do?
11. Which method is used to close a file?
12. What data type must be used when reading or writing lines in a text file?
13. What is the first step in handling files in C++?
14. How to create our own exception
15. This method returns an integer that specifies the current position of the file object (file pointer).
16. The ..... device print to display.
17. 'a' mode adds new data to the end of a file
18. To read the entire contents of a text file as a string from a file object fobj, the correct syntax is .....
19. Apa yang dimaksud dengan "file handling" ?
20. This Function write data in the file in the form of list
21. Storing the data in binary files is called .
22. How do you use file streams in C++?
23. Processing of Text file is faster than binary files.(T/F)
24. How do you create a new file using the File class in Java?
25. What is a text file?