Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, I need help with my Python assignment. Thank you in advance. In order to improve your CGPA calculation, you will implement Dalhousie's grade replacement

Hi, I need help with my Python assignment. Thank you in advance.

image text in transcribedimage text in transcribedimage text in transcribed

In order to improve your CGPA calculation, you will implement Dalhousie's 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 Disregard any neutral grade letters (e.g. W or ILL grades) 2 Calculate the GPA and CGPA at the end of each semester and output semester information If any course is repeated, make sure to disregard/overwrite the first attempt when calculating the CGPA (as described above) Sample Input Sample output 3 SEMESTERS 6 CLASSES Transfer Credits ENGI 1123,B MATH 1000,F Summer 2018 SEMESTER: Transfer Credits GPA: 1.5 CGPA: 3.0 SEMESTER: Summer 2018 GPA: 20 CGPA: 3.5 SEMESTER: Fall 2018 GPA: 3.5 CGPA: 3.5 CSCI 1110,F MATH 1000,A Fall 2018 MATH 1010,B CSCI 1110,A 2 SEMESTERS 11 CLASSES Summer 2018 SEMESTER: Summer 2018 GPA: 1.75 CGPA: 3.0 SEMESTER: Fall 2018 GPA: 268 CGPA: 2.77 CSCI 1107,ILL CSCI 1120,F CSCI 1110.D CSCI 1800,C+ MATH 1000, A- Fall 2018 MATH 1010,B- CSCI 1110,C CSCI 1120,B CSCI 1170,C- CSCI 1108, A PSYC 1201,W 2 SEMESTERS 13 CLASSES Fall 2018 SEMESTER: Fall 2018 GPA: 206 CGPA: 3.1 SEMESTER: Winter 2018 GPA: 3.27 CGPA: 3.21 CSCI 1107,ILL CSCI 1120,F CSCI 1110,D CSCI 1800,C+ MATH 1000, A- MATH 2112,B+ Winter 2018 MATH 1010, A- CSCI 1110,B+ CSCI 1120,C+ CSCI 1801,A+ CSCI 2110,W CSCI 1170,C- CSCI 1108, A+ [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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Infrastructure For Medical Research In Databases

Authors: Thomas Heinis ,Anastasia Ailamaki

1st Edition

1680833480, 978-1680833485

More Books

Students also viewed these Databases questions