Your program should include three classes: Course, TermTranscript, and HW2_yourId classes.
Course class: should contain necessary instance variables and methods of a course and at least these methods:
getGradePoint(): gives a grade point of a course using table 1.
getCreditEarned(): gives number of earned credits if student have one of the grades from table 1;
otherwise it is zero.
getCreditAttempted(): gives number of attempted credits in a course.
TermTranscript class: should contain student information, previous semesters information and all courses information. The class should contain any necessary methods, and at least the following:
getSemesterGPA() method: calculate a semester GPA.
getCGPA() method: calculate cumulative GPA (CGPA).
semesterCreditEarned() method: gives credit earned in a semester.
semesterCreditAttempted() method: gives credit attempted in a semester.
generateReport() method: creates an output file with name “ID_semesterRep.txt” and displays the report
as shown in the sample outputs.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here