Student Management System
- This is the final assignment of Group 2 for the Fundamentals of Programming course.
- The program runs in the console and allows users to manage basic student information using a menu.
Group Members:
| Name | SETU ID |
|---|---|
| Ziyang Zhang | 20119439 |
| Yiming Huang | 20119415 |
| Tangjia Tao | 20119427 |
| Ruibo Zhou | 20119438 |
The system provides the following functions:
| Operation | Description |
|---|---|
| Add Student | Add a new student by entering basic information. Each student ID must be unique. |
| View Students | Display all students that have been added. |
| Update Student | Modify the information of an existing student. |
| Delete Student | Remove a student from the system by ID. |
- Responsible for designing and implementing the Student class
- Encapsulate student attributes (ID, name, age, major)
- Implement getter/setter methods and toString()
- Workload: Light, suitable for members with foundational skills
- Implement CRUD operations for student data
- Use ArrayList to manage the student collection
- Develop removeStudentById and findStudentById methods
- Workload: Medium, requires understanding of collection operations
- Design the menu system (printMenu method)
- Implement user input/output interaction logic
- Handle input validation and exception handling
- Workload: Medium, requires understanding of console interaction
- Responsible for main method flow control
- Integrate all modules and perform system testing
- Write test cases and project documentation
- Workload: Heavy, requires big-picture perspective and debugging skills
We used AI to identify code omissions and unreasonable parts, which we then improved. For issues difficult to handle perfectly with our existing knowledge, AI helped supplement additional information to optimize the code. For example, @Override enables compile-time safety checks to ensure that the annotated method correctly overrides a method from the parent class/interface; otherwise, compilation will fail.
- Make sure Java is installed on your computer
- Double-click
run.bat - The program will start in the console
- Open the project in IntelliJ IDEA
- Run
Main.java