ECAT Computer File Handling in “C” Test Online

ECAT Computer Science File Handling in “C” Test

ECAT Computer Science Chapter 24 File Handling in “C” Online Test

Total Questions: 50
Time Allowed: 25 Minutes
Total Marks: 50
How to Attempt Test: Please choose the right Option in MCQ-type question.
Test Helpful For: ECAT Entry Test
Computer Online Test
Interview Questions about Computer
All Universities Entrance Test
Recruitments Tests

ECAT File Handling in “C” Test Online MCQs

 0%

Page 1 of 2

Uncategorized

1. Which standard library function is used to rename a file?

2. Which function returns the current position of the file pointer?

3. Which of the following statements is true about file handling in C?

4. Which of the following is used to read a character from a file?

5. What does "w+" mode do to an existing file?

6. Which function is used to read a block of data from a file?

7. Which of the following modes allows both reading and writing?

8. Which header file is required for file operations in C?

9. Which function is used to check the end-of-file condition?

10. What is the maximum number of files that can be open simultaneously in C?

11. Which function can be used to remove a file?

12. What does "w" mode do in fopen()?

13. What will fopen() return if it fails to open a file?

14. Which function moves the file pointer to a specific location?

15. What type of file does "rb" open?

16. What is the output of ftell() after opening a file in read mode?

17. Which function is used to write a character to a file?

18. Which mode in fopen() creates a new binary file for writing?

19. In which file mode will the data be written at the end of the file?

20. Which function is used to close a file in C?

21. Which function is used to detect file errors?

22. Which of the following is used to read a string from a file?

23. Which function moves the file pointer back to the beginning of a file?

24. Which of the following can be used to store structured data in files?

25. Which of the following is used to write formatted output to a file?


 

You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

Mustansar Khan

Hey Exam Warriors! I'm Mustansar Khan, your ally in conquering tests. Uncover strategies, real-time experiences, and expert advice to turn your study sessions into victories. Let's gear up for success!

Your Related

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
error: