Question: Design and code a JAVA program called Grades. ? Your system should store students name, and his/her course names with grades. ? Your system should

Design and code a JAVA program called Grades. ?

Your system should store students name, and his/her course names with grades. ?

Your system should allow the user to input, update, delete, list and search students grades. ?

Each student has a name (assuming no students share the same name) and some course/grade pairs. If an existing name detected, user can choose to quit or to add new courses to that student. ?

Each student has 1 to 5 courses, each course has a unique name and a grade from 0 to 100. ?

The course name has to be one of these 5 courses: Database, Data Structure, Operating System, Mathematics, and System Design.

Your system should provide below functions:

1. Add a student with course and grade pairs by: a. Spelling out the students name, and then provide Course name and Grade of that course to add a new student. b. Or add new course/grade pair to an existing student.

2. Delete a. A student by spelling out the students name. b. Or courses of a student by providing students name and course names.

3. Search a students grades by: a. Providing only the students name which will results to a list of course/grade pairs. Plus the average grade among all courses of that student. b. Or by providing students name and course(s) name(s) which will results to the grade of that course or grades of multiple courses.

4. Update students grades by: Providing students name, and then provide Course name of the required course and put the new Grade.

5. List all student/grade pairs of a course by: providing Course name. The list should be shown in descending orders of the grades, for same grades, list in ascending alphabetical order of students names. Also, the average grade should be shown.

Thank you so much for the work! really need your help!

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!