A simple Python project for managing and analyzing student marks using NumPy. It allows teachers/students to enter marks, generate random marks, and view reports like rankings, subject analysis, and student performance.
- Add student marks manually or generate random marks.
- Student report: shows total, average, and pass/fail status.
- Subject report: highlights top scorers, pass counts, and subject-wise analysis.
- Ranking system: ranks students based on total marks.
- Configurable pass marks (default = 40).
student-marks-analyzer/ │ ├── main.py # Entry point with menu & user interaction ├── marks_analyzer.py # Functions for marks handling & analysis ├── README.md # Documentation └── LICENSE
- Clone the repository
git clone https://github.com/hafsaimranattaria71125/student-marks-analyzer.git cd student-marks-analyzer
2.Install dependencies pip install numpy
3.Run the program python main.py
Run the program and follow the menu options.
Example menu:
***********************************
Student Marks Analyzer
***********************************
1. Display all marks
2. Student Report
3. Subject Report
4. Highest & Lowest score
5. Students Ranking
6. Top student per subject
7. Exit
Example output (displaying random generated marks):
Displaying marks:
Subj1 Subj2
Student1 63 85
Student2 36 0
Student3 82 55
-Python 3.x -NumPy
Contributions are always welcome!
- Fork the repository
- Create a new branch (
feature-xyz) - Commit your changes
- Submit a Pull Request
This project is licensed under the MIT License – free to use and modify.