A Python-based Exam Simulator CLI application with student registration, login, exam timer, PDF slip generation, and email notifications.
SCIENCE, ART, COMMERCIAL). โโโ results/ # Stores exam results โโโ users/ # Stores user accounts โโโ logo.png # Logo for registration PDF (optional) โโโ main.py # Main program entry point โโโ utils.py # Helper functions (validation, PDF, email, etc.) โโโ requirements.txt # Python dependencies โโโ README.md # Project documentation
git clone https://github.com/your-username/exam-simulator.git
cd exam-simulator
Make sure you have Python 3.9+ installed. Install required libraries:
pip install -r requirements.txt
Edit your email settings inside utils.py:
SMTP_SERVER = "smtp.gmail.com"
SMTP_PORT = 587
SENDER_EMAIL = "your_email@gmail.com"
SENDER_PASSWORD = "your_app_password"
python main.py
When the app starts, youโll see the main menu:
โ
After logging in: โ Logged In Menu โ
Take Exam โ Starts countdown timer & loads questions
Check Result โ View your past exam results
Change Name โ Edit your registered name
Logout โ Return to main menu
The system generates a Registration Slip like this:
Name: John Doe Username: 2025245JD Reg.No: 20251156789AB Department: SCIENCE Age: 17 Email: john.doe@exa
Udom Blessing is a seasoned Developer with focus on backend engineeringโฆ. You can look him up or contact him via Github or Instagram
In order to contribute or to report any bug, kindly open a descriptive issue about the bug or contribution.
Adding an example of the bug or the intended feature or fix, is a good way to create an issue.
MIT