Skip to content

berkecuhadar/SEPRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SEPRC

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.


Features

Anadolu AÖF Module

  • 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

Haliç University Module

  • Calculates the 40% midterm + 60% final weighted grading system
  • Assumes a passing threshold of 50
  • Returns the minimum final exam score required to pass

General

  • Interactive CLI menu
  • Input validation
  • Safe exit option (Q / q)

Prerequisites

Before running the project, ensure you have Python 3.x installed.


Installation

1. Clone the repository

git clone https://github.com/berkecuhadar/SEPRC.git
cd SEPRC

2. Create and activate a virtual environment (Optional but recommended)

Windows

python -m venv venv
venv\Scripts\activate

macOS / Linux

python -m venv venv
source venv/bin/activate

3. Install dependencies

pip install -r requirements.txt

Usage

Run the main script:

python seprc.py

Menu Guide

Input Action
1 Anadolu AÖF calculations
2 Haliç University calculations
Q / q Exit the application

Example Workflow

=== SEPRC MENU ===
1 - Anadolu AÖF
2 - Haliç University
Q - Exit

Select an option: 1

License

This project is open-source and available under the MIT License.

About

Simple Exam Passing Requirement Calculator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages