Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python Your Cumulative GPA (CGPA) is calculated as an average of all grades you've received. In this problem you receive data from multiple semesters. Input

python image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Your Cumulative GPA (CGPA) is calculated as an average of all grades you've received. In this problem you receive data from multiple semesters. Input First, you will receive the number of semesters included in the student transcript, followed by the word "SEMESTERS . Second, you will receive the total number of classes that the student has taken so far, followed by the word "CLASSES For each semester of data provided, you will receive the following information o Semester name o Number of courses taken that semester o Multiple lines containing information for each course taken that semester in the following format course code followed by grade letter obtained, each separated by a comma Processing 1 Convert each letter grade to the appropriate grade point value Disregard any neutral grade letters (eg. W or Ill grades) 2. Calculate the GPA and CGPA at the end of each semester and output semester Information (as below) Output format SEMESTER: (semester name) GPA: (calculated GPA rounded to 2 decimal places) CGPA: (calculated CGPA to that point rounded to 2 decimal places) SEMESTER: (semester name} GPA: (calculated GPA ronded to 2 decimal places) CGPA: (calculated CGPA to that point rounded to 2 decimal places) CGPA calculated CGPA to that point rounded to 2 decimal places Sample Input Sample output 3 SEMESTERS S CLASSES Transfer Credits MATH 1000,B Summer 2018 SEMESTER Transfer Credits GPA 3.0 CGPA 3.0 SEMESTER Summer 2018 GPA 21 CGPA: 233 SEMESTER Fall 2019 GPA: 10 CGPA 206 CSCI 1107A CSC 1800.C. CSC 1110,F Fal 2019 MATH 1010.D 3 SEMESTERS 6 CLASSES Transfer Credits ENGI 1123.B MATH 1000F Summer 2018 SEMESTER: Transfer Credits GPA: 15 CGPA: 15 SEMESTER: Summer 2018 GPA 20 CGPA: 175 SEMESTER Fall 2018 GPA: 35 CGPA 233 CSC NOF MATH 1000 A Fal 2018 MATH 1010B CSI MOA 3 SEMESTERS 6 CLASSES Transfer Credits ENGI 1123.8 MATH 1000,F Summer 2018 SEMESTER: Transfer Credits GPA 1.5 CGPA: 15 SEMESTER: Summer 2018 GPA 2.0 CGPA: 175 SEMESTER: Fall 2018 GPA: 3.5 CGPA: 2.33 CSCI 1110.F MATH 1000, Fall 2018 MATH 1010,8 CSCI 1110,A 2 SEMESTERS 8 CLASSES Fall 2018 SEMESTER: Fall 2018 GPA: 2.06 CGPA: 2.06 SEMESTER: Winter 2018 GPA: 4.0 CGPA: 2.61 CSCI 1107,ILL CSCI 1120,F CSCI 1110,D CSCI 1800.C+ MATH 1000 A- MATH 2112,B+ Winter 2018 MATH 1010, A- CSCI 1801A+

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

Database Systems On GPUs In Databases

Authors: Johns Paul ,Shengliang Lu ,Bingsheng He

1st Edition

1680838482, 978-1680838480

More Books

Students also viewed these Databases questions