This repository contains my Class 12 Computer Science final project, originally built in 2019-20.
I am publishing it now purely for archival and learning history purposes.
My current projects on GitHub reflect my modern coding skills — this one is preserved as a meaningful milestone.
This application performs Result Analysis for a class based on grade distributions across subjects.
It calculates:
- Total grade counts
- Weighted grade scores
- Performance Index (PI) for each subject
- Overall class PI
- A bar graph of PI vs Subject
The tool was built using:
- Python
- Tkinter (for GUI)
- Matplotlib (for visualization)
In my Class 12 Computer Science curriculum (2019), we were required to build a final-year project.
My teacher specifically asked me to create a Result Analysis tool that could automate the calculation of
Performance Index and other metrics used by teachers at the end of every academic year.
At that time:
- Many teachers struggled with Excel formulas while computing these statistics.
- No ready-made projects of this type were available online.
- AI tools like ChatGPT or Gemini did not exist — everything had to be thought through manually.
I built this project entirely from scratch, using the inputs, logic, and calculation methods provided by my teacher.
After I completed the application, my school teachers actually started using it.
Seeing something I built being used by others gave me an intense sense of satisfaction —
it was the moment I truly realized the joy of creating software that helps real people.
That experience played a major role in inspiring me to choose Computer Science as my bachelor's degree.
- Intuitive Tkinter GUI
- Grade-wise input fields for 7 subjects
- Automatic PI calculation
- Summary of total grade counts
- Overall class performance calculation
- Bar graph visualization using matplotlib
sudo apt install python3-tk
Note: Tkinter comes pre-installed on Windows with the standard Python installer from python.org.
python3 -m venv .venv
source .venv/bin/activate # Linux/macOS
.\.venv\Scripts\activate # Windows
pip install -r requirements.txt
python result_analysis.py
Below are the step-by-step screenshots demonstrating how the application works.

This is the initial GUI that appears when the program is launched. Users can enter subject names and grade counts here.

The first row is filled with grade-wise student counts for a subject before calculation.

After clicking Submit, the tool displays weighted grade values, total grade count, total weighted score, and the calculated PI for that subject.

Once all subjects are filled and submitted, the application shows PI for each subject.

Clicking Overall RESULT prompts the user to enter the total number of students.

After submitting the number of students, the tool displays overall grade totals, combined weighted score, and final PI.

This bar graph visualizes the Performance Index (PI) for each subject, allowing easy comparison.
This project represents my early coding journey (2019).
I am archiving it to preserve it as a legacy educational project — not as an example of my current coding practices.
My newer and more advanced projects are available on my GitHub profile.
This project is licensed under the MIT License — feel free to use, modify, and distribute it freely, with attribution.
Alok Kumar Maurya – Developer | Email: alok05.maurya@gmail.com