This is a Quiz Application built using Python, Tkinter for the GUI, MySQL for the database, and various other libraries for additional functionalities like email sending and PDF generation.
The Quiz App allows users to select a category and the number of questions they want to answer. After completing the quiz, users can generate a report of their performance, which can be sent to their email.
- Select quiz category and number of questions
- Answer multiple-choice questions
- View score and feedback for each question
- Generate a performance report in PDF format
- Send the report via email
- Python 3.x
- MySQL Server
python -m venv venv
-
On Windows:
venv/Scripts/activate
-
On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txt
- Ensure MySQL server is running.
- Create a
.env
file in the root directory with the following content:SENDER_PASSWORD=your_email_password SENDER_EMAIL=[email protected] DB_PASSWORD=your_mysql_password
python quiz_app.py
- Select a quiz category.
- Choose the number of questions.
- Answer the questions.
- View your score and feedback.
- Generate and send the performance report via email.