Chapter Study

BITM Semester 1 Structured Programming inCUnit 9: File Handling

Comprehensive questions and detailed answers for Unit 9: File Handling. Perfect for exam preparation and concept clarity.

4
Questions
10
Marks
Back to All Chapters

List any two modes for opening a file.

EasyTHEORY1 marks2022(TU FOHSS Final)

Write a program to read an integer from the user. If the given integer is odd then write it into the file named "Odd.dat", otherwise write it into "Even.dat".

MediumTHEORY5 marks2022(TU FOHSS Final)

What is the difference between append mode and write mode in file handling?

EasyTHEORY1 marks2023(TU FOHSS Final)

Write a program to copy the contain of one file to another file.

MediumTHEORY3 marks2023(TU FOHSS Final)
Showing 4 questions

Sample Questions

List any two modes for opening a file.

Marks: 1Chapter: Unit 9: File Handling

Write a program to read an integer from the user. If the given integer is odd then write it into the file named "Odd.dat", otherwise write it into "Even.dat".

Marks: 5Chapter: Unit 9: File Handling

What is the difference between append mode and write mode in file handling?

Marks: 1Chapter: Unit 9: File Handling

Write a program to copy the contain of one file to another file.

Marks: 3Chapter: Unit 9: File Handling

Unit 9: File Handling chapter questions with answers for Structured Programming inC (BITM Semester 1). Prepare for TU exams with our comprehensive question bank and model answers.