A CLI-based Python utility designed to calculate the minimum final exam score or the correct/wrong answer combinations required to pass a course.
The project currently supports the grading systems of:
- Anadolu University Open Education Faculty (AÖF)
- Haliç University
For AÖF, where 4 wrong answers cancel out 1 correct answer (0.25 net deduction), the script dynamically generates all successful correct/wrong answer combinations using pandas.
- Calculates the 30% midterm weight
- Assumes a passing threshold of 35
- Applies the 4 wrong = 1 correct penalty
- Dynamically generates a matrix of successful correct/wrong answer combinations
- Based on a 20-question final exam
- Calculates the 40% midterm + 60% final weighted grading system
- Assumes a passing threshold of 50
- Returns the minimum final exam score required to pass
- Interactive CLI menu
- Input validation
- Safe exit option (
Q/q)
Before running the project, ensure you have Python 3.x installed.
git clone https://github.com/berkecuhadar/SEPRC.git
cd SEPRCpython -m venv venv
venv\Scripts\activatepython -m venv venv
source venv/bin/activatepip install -r requirements.txtRun the main script:
python seprc.py| Input | Action |
|---|---|
1 |
Anadolu AÖF calculations |
2 |
Haliç University calculations |
Q / q |
Exit the application |
=== SEPRC MENU ===
1 - Anadolu AÖF
2 - Haliç University
Q - Exit
Select an option: 1
This project is open-source and available under the MIT License.