Navigation Menu
Home News Blog
ECAT 2026 Practice Test Computer Science File Handling in C Free Quiz 1
General
ECAT 2026 Practice Test Computer Science File Handling in C Free Quiz 1
Practice ECAT 2026 Practice Test Computer Science MCQs from File Handling in C. Get instant results with Explanation.
Practice Quiz 1 for "File Handling in C" (Computer Science). Total 30 MCQs available, split into 3 quizzes. Start with the fundamentals and build a strong base. This area is highly tested in ECAT. Practice these MCQs repeatedly to ensure you don't lose valuable marks on exam day.
General5 MCQs
1. Which header file is required for file handling in C?
2. The function used to open a file in C is:
3. Which mode is used to open a file for reading?
4. Which mode is used to open a file for writing (creates new or overwrites)?
5. Which mode is used to open a file for appending?
General5 MCQs
6. The function to close an opened file is:
7. Which function reads a character from a file?
8. Which function writes a character to a file?
9. Which function reads a line from a file?
10. Which function writes a string to a file?

📋 ECAT - Test Online Practice Quizzes

ECAT

Conducting Body: UET
Frequency: Quarterly | Time: 100 Minutes
Negative Marking: No

⚡ Test Pattern (Total: 100 MCQs):

Merit Formula: Typically, the aggregate is calculated as: (ECAT × 33.33%) + (FSc Part-I × 16.67%) + (Matric × 50%). However, the respective university may revise its merit calculation formula or admission criteria from time to time. Please confirm the official criteria before applying.