Python code:
Write a student class that will keep track of the grades of students and generates a final mark.
•You should store three quiz marks, each out of a total of 20 marks, one midterm score out of a total of 50 marks, one final project out of 100 and an overall score with a letter grade associated with it. Further, create the respected accessor and mutator methods necessary.
•The function calculateOverallScore() should calculate the weight as follows; quizzes are 15% total, midterm is 35% total and final is worth 50% for a total of 100% when summed up.
•The function finalLetterGrade() should return the letter based off the following: 100-90 A,
90-80 B,
70-80 C,
60-70 D,
0 – 60 F
•When complete create a student object, set the marks for quizzes/midterm/final and print the letter and final grade to the console.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here