Title: Student Record Management System
You are tasked with creating a Student Record Management System in Python for a
school. The system should allow users to perform various operations on student
records such as adding new students, updating existing records, deleting records, and
displaying student information. The program should provide a user-friendly menu-driven
interface to interact with the system. Students’ records should include their names, roll
numbers, age, and grades.
Write a Python program to implement the Student Record Management System with the
following functionalities:
1. Add Student Record: Allow the user to input a new student’s name, roll number,
age, and grades, and store this information in the system.
2. Update Student Record: Prompt the user to enter a student’s roll number and
then allow them to update the student’s information (name, age, or grades).
3. Delete Student Record: Request the user to enter a student’s roll number and
delete the corresponding record from the system.
4. Display All Records: Display all the stored student records (name, roll number,
age, and grades) in a tabular format.
5. Exit: Terminate the program when selected.
The program should use appropriate data structures to store and manage student
records. Ensure that the code includes proper error handling and validation to handle
invalid inputs gracefully.
Note: You are not required to implement file storage for this specific project. The system
will store data in memory, and once the program ends, the data will be lost.
Please write the Python code for the Student Record Management System based on the
above requirements.