Answer to Question #56437 in Python for Mohan

Question #56437
(a) Implement a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate constructor and methods getName(), addQuiz(score), getTotalScore(), and getAverageScore(). To compute the latter, you also need to store the number of quizzes that the student took.

(b) Modify the Student class to compute grade point averages. Methods are needed to add a grade and get the current GPA. Specify grades as elements of a class Grade. Supply a constructor that constructs a grade from a string, such as ”B+”. You will also need a method that translates grades into their numeric values (for example, ”B+” becomes 3.3). [You may obtain traditional grading scales from here http://en.wikipedia.org/wiki/Academic_grading_in_the_United_States]
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS