You are to model the concepts of courses and assignments to build a rudimentary system for keeping track of a course grade. The concrete requirements are as follows:

  • The application must use class inheritance to separate types of assignments: quizzes, homework, and exams.
  • The application must provide a simple, text-based menu for the user to enter new assignments of each type.
  • The application must use the following weights when computing the final average:
    • Quizzes - 30%
    • Homework - 50%
    • Exams - 20%
  • These weights should be accessible at the type level. That is, you cannot use a local variable or duplicately store the weight on each object.
  • Assignments of each type must have the following data members: name, description, date, and grade
  • The menu must provide the user the ability to compute the current course average. This option should display the average of assignments in each type and then the final average using the weights mentioned above.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.