CAN SOMEONE PLEASE HELP ME MAKE THIS PROGRAM I DONT GET IT!!
Write a grading program to be used by a teacher that has the following grading policies. The program should allow the teacher to insert the name of student, the student’s id number, and the grade for each assignment. The program should calculate and display the students totals and the class totals:
There are two quizzes, each graded on the basis of 10 points (display an error message if the user doesn’t enter a number from 1-10 and prompt them to renter the correct value).
There is one midterm exam and one final exam, each graded on the basis of 100 points.
The final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores. They should be converted to a percent before they are averaged in.)
Any grade of 90 or more is an A, and grade of 80 or more (but less than 90) is a B, any grade of 70 or more (but less than 80) is a C, any grade of 60 or more (but less than 70) is a D, and any grade below 60 is an F. The program will read in the student’s scores and output the student’s record, which consist of two quizzes and two exam scores as well as the student’s overall numeric score for the entire course and final letter grade.
Define and use a class for the students’ records. The class should have:
· Private instance variables for the quizzes, midterm, final, course overall numeric score, and course final letter grade.
· The overall numeric score is a number in the range from 0 to 100, which represents the weighted average of the student’s work.
· Various methods
o Mutator and accessor
· Arrays
· Loops (do, for, and do while)
· If statements
· Case statements
The input method should not ask for the final numeric grade nor should it ask for the final letter grade. The class should have methods to compute the overall numeric grade and the final letter grade. Remember, one method can call another method. If you prefer, you can define a single method that sets both the overall numeric score and the final letter grade, but if you do this, use a helping method. Your class should include mutator methods that set a students name and points scored on the two quizzes, the midterm, and final.
Allow multiple students grades to be computed. After the student’s individual scores are entered and calculated, display the student’s final grade. Use an array to hold the students attributes. After each student's grade is tabulated list the following options for the user to select from (the following should be in the form of a menu):
a.) Input student personal information
a. Name
b. Classification
c. Id #
b.) Overall Class Grades
· Before the class grades are displayed, give the user the option to either display the students name or id number next to their corresponding grade
o Display each student’s overall grade (just their overall grade, not the grade for each assignment)
c.) Class Statistics:
This will display a graph to represent the number of A’s, B’s, C’s, D’s, and E’s for following (once the user has selected this option give them the choice to view the graph for the items listed below):
· Quizzes
· Midterm exams
· Final exams
· Final grades
Before you display the graph output the actual number of A’s, B’s, C’s, D’s, and E’s. Your output should look as follows (the number increments are up to you):
A’s: 7
B’s: 30
C’s: 45
D’s: 15
E’s: 10
0 10 20 30 40 50 60 70 80 90 100%
| | | | | | | | | | |
************************************************** *
*** A
************** B
********************* C
******* D
**** E
d.) Class Summary
· Display all students grades
a. Before the class grades are displayed, give the user the option to either display the students name or id number next to their corresponding grades:
i. Display each score on the two quizzes, the midterm, final exam, and final grade.
e.) Student Summary (individual):
Look up student using their id number and display the following:
· The name of the student
· The students classification
· The student’s numeric score from each assignment (quiz, midterm, and final).
· The student’s final letter grade.
f.) Exit
You may add other methods if you wish. Your program should start and end with the menu above. Include a demo program to test the class.
Set two students (including their grades) in the demo program. If I run the program and choose option b the two students will be displayed.
Thanks In Advance!