Read and download free pdf of CBSE Class 12 Computer Science Data File Handling Worksheet Set C. Students and teachers of Class 12 Computer Science can get free printable Worksheets for Class 12 Computer Science in PDF format prepared as per the latest syllabus and examination pattern in your schools. Standard 12 students should practice questions and answers given here for Computer Science in Grade 12 which will help them to improve your knowledge of all important chapters and its topics. Students should also download free pdf of Class 12 Computer Science Worksheets prepared by school teachers as per the latest NCERT, CBSE, KVS books and syllabus issued this academic year and solve important problems provided here with solutions on daily basis to get more score in school exams and tests
CBSE Class 12 Computer Science - Data File Handling (2). CBSE issues sample papers every year for students for class 12 board exams. Students should solve the CBSE issued sample papers to understand the pattern of the question paper which will come in class 12 board exams this year. The sample papers have been provided with marking scheme. It’s always recommended to practice as many CBSE sample papers as possible before the board examinations. Sample papers should be always practiced in examination condition at home or school and the student should show the answers to teachers for checking or compare with the answers provided. Students can download the sample papers in pdf format free and score better marks in examinations. Refer to other links too for latest sample papers.
Data File Handling
1. Differentiate between :
(i) Text file and binary file
(ii) ios::out,ios::app and ios::ate
(iii) ios::nocreate and ios ::noreplace
(iv) seekg() and tellg()
(v) get() and getline()
2. Describe the two ways in which you can open files.
3. Find the errors :
(i) Ifstream inf;
(ii) Ifstream inf;
(iii) Ofstream fout;
1. Write a program to count the number of blank spaces present in the text file.
2. Write the program that displays the size of the text file in bytes.
3. Write a program to count and display the number of lines starting with’T’ in a text file.
4. Given a binary file try.dat, write a C++ program to generate the following menu :
1. Input Data
2. Display Data
Please click the link below to download full pdf file for CBSE Class 12 Computer Science - Data File Handling (2).
Click for more Computer Science Study Material ›