Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

OOPP Assignment. Last Submission date:26-04-2012 Assignment 3.

1 1)Write a c++ program to illustrate the concept of Files and to maintain the details of Students records.
The following are the constraints.

a) All Modes of File Handling should be used in this program. b) To taking input from user like Roll number,Name,Mark1,mark2,mark3. c) Total, Average, results these are all computed and all the information's should be saved in file (Ex. Student.doc) d) Search Roll number in the file and to display the details of Student. e) Display all entries from the file and delete operations should be performed by this file. f) Additionally we create two files. i) if the student result is pass, all the details of the student should be stored in another file.(Ex.File2.doc) ii)if the student's result is Fail , all the details of the student will be stored in another file.(Ex.File3.doc) These all are in menu driven. 1.store the results 2.Display all 3.Search. 4.Delete. 5.To view all the details of passed students. 6.To view all the details of failed students. 2)Write any Two c++ program to illustrate the concept of Exception handling. Note: These three programs should be shown in Laptop.

Assignment 3.2 (Full theory) Write the followings concepts for at least 5 pages. 1.Streams 2.Ofstream 3.Ifstream 4.Files. 2)Write the following concept at least 3 pages. Exceptions. Note: when ever u finish the assignment show it to Shanmuga perumal sir.

You might also like