The CGPA Calculator is a simple and efficient tool designed to calculate the Cumulative Grade Point Average (CGPA) based on the grades obtained in various subjects. This tool helps students calculate their CGPA for a particular semester or the entire academic program by computing a weighted average of grades and credit hours.
It automates the CGPA calculation process, ensuring accuracy and providing an easy-to-use interface for students and educators.
- Grade Input: Allows users to input grades for each subject.
- Credit Hours: Allows users to input credit hours for each course.
- CGPA Calculation: Automatically computes CGPA based on grades and credit hours.
- Customizable: Supports different grading systems (e.g., 4.0 scale, 10-point scale).
- Simple Interface: Easy-to-use and intuitive design.
- Python (for backend logic and computation)
- Tkinter (for GUI, if applicable)
- HTML/CSS/JavaScript (for web-based version, if applicable)
- Flask/Django (for web framework, if using a web-based tool)
- Python 3.x installed on your system.
- A code editor (e.g., VS Code, PyCharm) to modify and run the code.
-
Clone the repository:
git clone https://github.com/yourusername/cgpa-calculator.git
-
Navigate to the project directory:
cd cgpa-calculator -
Install the required dependencies (if any):
pip install -r requirements.txt
-
Run the CGPA Calculator: For Python-based desktop app:
python cgpa_calculator.py
For a web-based version, open
index.htmlin your browser.
- Enter Grades: Input the grade for each course. The tool supports various grading systems (e.g., letter grades, GPA).
- Enter Credit Hours: Input the credit hours for each course.
- Click 'Calculate': Press the "Calculate" button to compute your CGPA.
- View Results: The calculated CGPA will be displayed at the bottom or in the output section.
Assume the following courses:
| Course Name | Grade | Credit Ho