Click here to Skip to main content
15,918,003 members

Comments by Member 13018326 (Top 3 by date)

Member 13018326 27-Feb-17 1:23am View    
Thanks Graeme_Grant!
Member 13018326 23-Feb-17 2:10am View    
Deleted
One thing I know this is too much to ask for help I have here the exercise regarding that student class can someone gave me an idea on how to implement those grades of student.

1. Add a new class Exam that contains properties Type (create an enum, midterm, prelims and finals), Total Item, Total correct item.
2. Add a new class Recitations that contains properties that contains a list of recitations and their corresponding recitation grade.
3. Add a new class Person that has properties FirstName, LastName and Gender. The Student and Teacher class should inherit from Person.
4. Add a new class Student that will contain the following:
a. List of Exams
b. Recitations
5. Add a new class “Subject” that will contain the list of Students, subject name, and teacher.
6. Implement an interface IGrade that will calculate the following:
a. Exam -> Midterm and Finals Grade is computed as (Total Correct / Total Item * 50 / 50) * 50%
b. Exam -> Prelims Grade is computed as (Total Correct / Total Item * 50 / 50) * 25%
c. Recitation Grade = ( Grade / Total Number of recitations) * 25%
7. Implement an interface IStudentGrade, implemented by the student:
a. Total Grade -> will compute the total grade of exams and recitations. Exam grade + Recitation Grade.
8. Implement an Interface IClassSummary that will be implemented by the Subject class. It will contain three methods, to compute for the # of students per class, # of failed, # of passed.
9. In my main program, I will have a list of all subjects.
Member 13018326 23-Feb-17 2:06am View    
thanks Maciej Los!