Recent Question/Assignment

can you do this for me please

Assignment 3
Assignment 3
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.
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.
• Test mark must be between 0 and 40.
Format your output to display the marks with two decimal digits.

Looking for answers ?