Question: Hide Folder Information Instructions Define a class for the student record. The class should instance variables for Quizzes, Midterm, Final and total score for the

Hide Folder Information

Instructions

Define a class for the student record. The class should instance variables for Quizzes, Midterm, Final and total score for the course and final letter grade.

The class should have input and output methods. The input method should not ask for the final numeric grade, nor should it ask for final letter grade. The classes should have methods to compute the overall numeric grade and the final letter grade. These two methods will be void methods that set the appropriate instance variables.

Make sure to add default constructor.

Your program should use all the described methods. You should have set of Accessor(getter) and mutator(setter) methods for all instance variables, whether your program uses them or not.

The program should read in the students scores two quizzes, midterm and final and display the students records, which consists of all the above +final number and final letter grade.

Overall numeric grade is calculated as 50%-final exam, 25%-midterm and two quizzes together count for 25%.

For letter grade

90-100 is A

80-89 is B

70-79 is C

60-69 is D

And any grade <60 is F grade

When taking input, quiz grades are out of 10 points and midterm and final are out of 100 points.

The driver program HW5 which should instantiate the student object and use the input method to take user input and output method to display records.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!