A console-based Student GradeBook application written in Java.
This project was an academic assignment to demonstrate the use of indexed arrays, sorting algorithms, and object-oriented programming concepts in Java.
The goal of this program is to allow a teacher to manage student test grades through a menu-driven interface.
All data is stored in memory using arrays, and all required operations are implemented manually without relying on built-in collections or sorting utilities.
The program supports the following operations:
- Add a student to the class
- Remove a student (by name or ID)
- Add a test grade to a student
- Delete a test grade by index
- Sort students alphabetically by name (Bubble Sort)
- Remove all students from the class
- Remove all grades from a specific student
- Overwrite a student record
- Print a single student and their grades
- Print all students
- Calculate a student’s average grade
- Calculate the class average
- Exit the program
Studentclass stores:- Student name
- Student ID (array index)
- Test grades
GradeBookclass stores & performs:- Student database (array of students)
- Handle menu logic and user input
- Perform sorting and calculations