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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What does fscanf() do?
2. What function is used to close a file in Python?
3. If a CSV file contains header row, which function is used to skip it?
4. Which of the following is true about the WRITEFILE command?
5. Which Tkinter widget is used to display a message to the user?
6. What is file handling in Python?
7. File handling is carried out by the compiler
8. ..... Open the file for reading and writing.
9. By default python program save in which drive?
10. What library is commonly used for handling CSV files in Python?
11. Mode used for reading and writing in binary file
12. A ..... file stores information in the form of a stream of ASCII or UNICODE characters.
13. Data stored in the files are called
14. Which of the following is used to write text data?
15. Which of these will generate an error?
16. How do you convert a list of dictionaries to a CSV file?
17. What does the 'tell()' function return?
18. A data of the file is stored in
19. How can you append data to an existing text file?
20. To move the file pointer 10 bytes backward from the current position, which statement would you use?
21. What function is used to read a specific number of bytes from a file in Python?
22. Which function is used to close a file in Python?
23. Every file has its own identity associated with it. Which is known as
24. JPEG stands for .....
25. How do you write data to a file using Fileoutputstream in Java?