Question: Please see question below. Language should be Java I've provided the input format labelled as as mentioned in problem 2 below: Input First, you will
Please see question below. Language should be Java
I've provided the input format labelled as "as mentioned in problem 2" below:
| Input |
|
In order to improve your CGPA calculation, you will implement Dalhousies grade replacement rule to the work that you did in Problem 2.
If a course is repeated, the initial attempt is not included in the CGPA.
For example, if you get a B in a course that you had previously failed, only the B is included in your CGPA. For the sake of this exercise, the GPA for the previous semester is not affected.[1]
| Input |
| (Same as Problem 2) |
| Processing |
| 1. Convert each letter grade to the appropriate grade point value
2. Calculate the GPA and CGPA at the end of each semester and output semester information
|
| Output format |
| (Same as Problem 2) |
| Sample input | Sample output |
| 3 SEMESTERS 6 CLASSES Transfer Credits 2 ENGI 1123,B MATH 1000,F Summer 2018 2 CSCI 1110,F MATH 1000,A Fall 2018 2 MATH 1010,B CSCI 1110,A | SEMESTER: Transfer Credits GPA: 1.5 CGPA: 3.0 SEMESTER: Summer 2018 GPA: 2.0 CGPA: 3.5 SEMESTER: Fall 2018 GPA: 3.5 CGPA: 3.5 |
| 2 SEMESTERS 11 CLASSES Summer 2018 5 CSCI 1107,ILL CSCI 1120,F CSCI 1110,D CSCI 1800,C+ MATH 1000,A- Fall 2018 6 MATH 1010,B- CSCI 1110,C CSCI 1120,B CSCI 1170,C- CSCI 1108,A PSYC 1201,W | SEMESTER: Summer 2018 GPA: 1.75 CGPA: 3.0 SEMESTER: Fall 2018 GPA: 2.68 CGPA: 2.77 |
| 2 SEMESTERS 13 CLASSES Fall 2018 6 CSCI 1107,ILL CSCI 1120,F CSCI 1110,D CSCI 1800,C+ MATH 1000,A- MATH 2112,B+ Winter 2018 7 MATH 1010,A- CSCI 1110,B+ CSCI 1120,C+ CSCI 1801,A+ CSCI 2110,W CSCI 1170,C- CSCI 1108,A+ | SEMESTER: Fall 2018 GPA: 2.06 CGPA: 3.1 SEMESTER: Winter 2018 GPA: 3.27 CGPA: 3.21 |
[1] In reality, the GPA is updated such that a replaced grade is no longer included for the semester affected, as if it had never happened.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
