Isy1003 foundations of programming - calculate the subject


Assessment Description

Write a Python program to calculate the subject marks of a student. The input data for the program includes: the raw marks of assignment, test, tutorial exercises and exam. After receiving the inputs, the program calculates and displays the final marks of each component and total final mark. Then it decides the grade that student should get. The grade level is based on the following table according to the final total mark:

Total Mark                   Grade

0 - 49                          Fail

50 - 64                        Pass

65 - 74                        Credit

75 - 84                        Distinction

85 - 100                      High Distinction

The weights of each assessment component are shown on the consol. The program should also check the validity of all the input data, including numeric input and valid range of each input data, before carrying out the calculation of marks.

The grade calculations program will continue to work if the user wants to calculate for more number of students.

Two examples of student grade calculations are shown below:

Student Grade Calculation:

Raw Mark   Final Mark

Assignment (50)     26               10.40       /20

Test (40)             22                 11.00      /20

Tut Exercise (20)     8                  4.00        /10

Final Exam (100)      55                 27.5        /50

Total Mark: 52.90 Grade:      Pass

Student Grade Calculation:

Raw Mark   Final Mark

Assignment (50)     40                  16.00       /20

Test (40)           38                  18.00      /20

Tut Exercise (20)   20                  10.00      /10

Final Exam (100)    70                  25.00      /50

Total Mark: 79.00 Grade:        Distinction

Some of the error messages that your program can display are shown below:

  • Please enter numbers for assignment.
  • Assignment must be between 0 and 50.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Isy1003 foundations of programming - calculate the subject
Reference No:- TGS02765616

Expected delivery within 24 Hours