Question: Write a function NominalGrade(Ascore, Escore) that takes a student's weighted assignment score Ascore, and exams score, Escore, as parameters, and returns a grade score based

Write a function NominalGrade(Ascore, Escore) that takes a student's weighted assignment score Ascore, and exams score, Escore, as parameters, and returns a grade score based on equal weight to both. The scores are float values out of 100. The score to letters grade policy is similar to that being followed in this class. However, the function returns an integer grade score representing the corresponding nominal grade:

Score Range Grade Score Letter Grade86 or higher 4 A74 to below 86 3 B62 to below 74 2 C50 to below 62 1 D0 to below 50 0 F

Now write a function TrueGrade(Ascore, Escore) that additionally takes into account the following rule posted on the class page and returns the actual letter grade.

"The Final grade you receive will not be more than 1 full grade higher than your EXAMS grade"

TrueGrade() should call NominalGrade()

Example 1: NominalGrade(96, 84) should return 4.

TrueGrade(96, 84) should return 'A'.

Write a function NominalGrade(Ascore, Escore) that takes a student's weighted assignment score

\f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!