Chapter Study

BCA Semester 2 C programming () Questions & Answers | Past TU Exam Papers

Practice from C programming with detailed solutions and model answers from past Tribhuvan University exams.

4
Questions
30
Marks
Back to All Chapters

What is the difference between binary file and text file? Write a C program to write some text "Welcome to BCA program" in a file test.txt.

MediumTHEORY5 marks2019(TU FOHSS Final)

Define file opening modes. Write a program to delete specific record from a file.

HardTHEORY10 marks2023(TU FOHSS Final)

Write a C program to copy contents of student.txt file into another file called info.txt.

MediumTHEORY5 marks2022(TU FOHSS Final)

What is the use of data file in C? Write a program to accept 100 numbers from user and store them in odd.txt file (if number is odd) or even.txt (If number is even) then display odd numbers reading from odd.txt file.

HardTHEORY10 marks2021(TU FOHSS Final)
Showing 4 questions

Unit 11: Data File Handling (4Hrs) chapter questions with answers for C programming (BCA Semester 2). Prepare for TU exams with our comprehensive question bank and model answers.