A robust and user-friendly Student Management System built with Python. This project demonstrates the practical application of Object-Oriented Programming (OOP), JSON-based data persistence, and Error Handling.
- Create: Add new student records with unique Roll Numbers.
- Read: View a formatted list of all registered students.
- Search: Quickly find a student's details using their Roll Number.
- Update: Modify existing student names or marks.
- Delete: Remove student records from the database.
- Analytics: View class statistics including Average, Highest, and Lowest marks.
- Data Persistence: Automatically saves data to a
students.jsonfile so no data is lost when the program closes.
- Object-Oriented Programming (OOP): Encapsulates logic within the
StudentManagerclass for better code organization. - JSON Module: Used for reading and writing data to a local file.
- Exception Handling: Robust
try-exceptblocks to handle invalid user inputs and file errors. - Match-Case Logic: Utilizes Python's modern structural pattern matching (Python 3.10+).
- Python 3.10 or higher installed on your system.
- Clone the repository:
git clone [https://github.com/your-username/student-management-system.git](https://github.com/your-username/student-management-system.git)
- OOP Concepts: Classes, methods, encapsulation
- File I/O: JSON-based persistent data storage
- CRUD Operations: Create, Read, Update, Delete records
- Error Handling: Robust input validation
- CLI Interface: Menu-driven user interaction