Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, I need help with my Python assignment. Thanks in advance. I've provided the input and output format labeled as as mentioned in problem 2

Hi, I need help with my Python assignment. Thanks in advance. I've provided the input and output format labeled as "as mentioned in problem 2" below:

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:
    • Semester name
    • Number of courses taken that semester
    • 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

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 rounded to 2 decimal places}

CGPA: {calculated CGPA to that point rounded to 2 decimal places}

image text in transcribedimage text in transcribedimage text in transcribed

In this problem, you will calculate whether or not a student's GPA and CGPA put them in danger of either being put on probation or being dismissed. You will proceed as in Problem 2. However, you will be keeping track of progress to make sure that student's academic standing is progressing as planned.[1] After outputting semester details, you will check the CGPA to make sure that it is 20 or above. If so, before proceeding to the next semester, you will output STATUS: GOOD STANDING" If the CGPA has dropped below 20 for the first time or their GPA for that semester was at least 2.0, you will output "STATUS: PROBATION" and carry on outputting further semester details. If a student started the semester on probation status (i.e. the previous CGPA was below 2.0) and the current semester GPA is less than 20, you will output STATUS: DISMISSED" and ignore all further semester data. If not already dismissed, if a student's CGPA returns to 20 or greater, they return to good standing. Input (Same as Problem 2) Processing For each semester: 1. Calculate the CGPA and GPA for each semester and output semester information as in Problem 2 - DON'T APPLY GRADE REPLACEMENT RULE 2 Determine the student's academic standing as described above and based on this calculation, output one of: . "STATUS: GOOD STANDING" "STATUS: PROBATION" or "STATUS: DISMISSED" Output format SEMESTER: {semester name} GPA: {calculated GPA rounded to 2 decimal places} CGPA: {calculated CGPA to that point rounded to 2 decimal places} STATUS: {status at end of semester) SEMESTER: {semester name} GPA: {calculated GPA rounded to 2 decimal places} CGPA: {calculated CGPA to that point rounded to 2 decimal places} STATUS: {status at end of semester} Sample Input Sample output 3 SEMESTERS 5 CLASSES SEMESTER: Transfer Credits GPA: 23 CGPA: 23 STATUS: GOOD STANDING Transfer Credits MATH 1000,C+ Summer 2018 SEMESTER: Summer 2018 GPA: 1.0 CGPA: 143 STATUS: PROBATION CSCI 1107,C CSCI 1120,F Fall 2019 SEMESTER: Fall 2019 GPA: 1.35 CGPA: 1.4 STATUS: DISMISSED CSCI 1110,C- MATH 1010,D

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

More Books

Students also viewed these Databases questions