2014-10-18

Create a class Student with regno, name, CS1201, CS1202, CS1203 as data members. Include a
member function to find the total and publish the result. Get minimum of five students' details and
display the result in the form of list. Extend the Student into two different categories such as B.E and MCA.

Category B.E degree students have dept_name (CSE, ECE, EEE), dept_head, dept_location, core_subjects
which is an array, subject_marks is an array containing the marks of the core subjects out of 100.

Category MCA degree students have dept_name, dept_head, dept_location, core_subjects which is an
array (whose size can be determined at the run time), subject_marks is an array containing the marks of
the core subjects out of 100.

Internal marks calculation is different for different categories of students. Internal marks (out of 100) for
B.E students can be calculated as 50% of test1 + 50% of test2 (Considering two best tests out of three)
Internal marks (out of 100) for MCA students can be calculated as 40% of test1 + 30% of test2 + 30% of
test3 (Considering all the three tests)

• Read and display the details of the Student with the operator overloading (<<, >>)

• Implement Calculate() in two different categories of the students and invoke them.

(Use Virtual Function)

• Write the details of at least one category of the students in a binary file and show the details by
reading from the file.

Show more