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

Quiz Instructions

Select an option to see the correct answer instantly.

1. EOL stands for
2. What is the significance of working with file paths in Python file handling?
3. Describe the use of the Pickle Module in Python.
4. ..... function returns the list of strings.
5. Arrays are often used to hold data read from files.
6. How do you open a file for reading in Python?
7. To open a file in text mode, which character is used?
8. What is the function "a" in file handling
9. What is the purpose of the readlines() function?
10. Apa yang harus dilakukan setelah menulis ke file untuk memastikan data tersimpan dengan benar?
11. File Object is also Known as
12. Used to get data from datafile and send output into datafile.
13. What does the "a" mode do when opening a file in Python?
14. Which of the following is used to separate a line into words.
15. Expand EOF
16. What is the difference between 'rb' and 'wb' file modes?
17. What is the function used to open a file in Python for reading?
18. Which method is used to write data to a csv file using the csv module in Python?
19. What is the meant by 'a' in the following operation?fp = fopen("letsfindcourse.txt", "a");
20. How does the operating system manage memory allocation?
21. 1 Which of the following command is used to open a file "temp.dat" in read-mode only?
22. A binary file stores the information in the form of .....
23. What is the purpose of the 'F dot read' command in the Python file handling examples?
24. When using the read method to read characters from a file, what does the parameter "X" specify?
25. What is a CSV file used for?