Student Record System (SRS)
Manage student records and their courses interactively
Description
This program allows you to manage student records and their courses using a shell prompt. You can add, remove, display, list, sort, and search for students and courses. The program runs in an infinite loop until 'exit' is entered.
Commands
General commands
Save data to files.
save [students_filename] [courses_filename]
Load data from files.
load [students_filename] [courses_filename]
Displays help page for student commands.
student help
Display help page for course commands.
course help
Exit the program.
exit
student
commands
Allows you to manage students' records.
You can add, remove, display, list, sort, and search for students.
The program runs in an infinite loop until exit
is entered.
Synopsis
student [COMMAND] [OPTIONS]
Add a new student
You will be prompted for the student's first name and last name.
student add
Remove a student
Remove a student with the specified roll number.
student remove <roll_number>
List students
List all or first n
students in the system.
student list [n]
Sort students
Sort the student list in ascending or descending order by roll number.
student sort [asc|desc]
Search for students
Find students by their first or last names. The query
can be any part of the name.
student find <query>
course
commands
Allows you to manage students' courses.
Synopsis
course [COMMAND] [OPTIONS]
Add a new course
Add a new course for student with specified roll number. You will be prompted for the course name and score.
course add <roll_number>
Remove a course
Remove a course for student with the specified roll number. You will be prompted for te course name.
course remove <roll_number>