Skip to content

shoaibxbwf/QuizApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Quiz App (GUI Version)

A Python-based quiz application using Tkinter with multiple difficulty levels and timed questions.

Features

  • Three difficulty levels (Easy, Medium, Hard)
  • 15-second timer for each question
  • Progress tracking during the quiz
  • Immediate feedback with score and percentage
  • Clean, user-friendly interface
  • Randomized question order

Requirements

  • Python 3.x
  • Tkinter (usually comes with Python)
  • CSV file with quiz questions

Usage

  1. Run the script: python quiz_app.py
  2. Select your preferred difficulty level
  3. Answer each question within the 15-second time limit
  4. View your results at the end
  5. Click "Restart Quiz" to play again

File Structure

  • quiz_app.py - Main application script
  • quiz_questions.csv - Question database (must be in same directory)

CSV File Format

The quiz questions CSV file must follow this format:

  • difficulty,question,option1,option2,option3,option4,answer
  • easy,What is the capital of France?,London,Paris,Rome,Berlin,Paris

Customization

To add your own questions:

  1. Edit the quiz_questions.csv file
  2. Follow the same format as the existing questions
  3. Save the file and restart the application

Troubleshooting

  • If you get a "File not found" error, ensure:

    • The CSV file is in the same directory as the script
    • The CSV file is named exactly quiz_questions.csv
    • You've downloaded the complete CSV file
  • If the timer runs too fast:

    • This typically indicates a system performance issue
    • Try closing other applications while running the quiz

πŸ‘¨β€πŸ’» Developed By

Mohammad Amir Shoaib
πŸ’» BCA Student | Front-End Web Developer
πŸ“§ astechnical112@gmail.com
🌐 GitHub: @shoaibxbwf PLS SUPPORT GIVE IT A STAR⭐⭐⭐⭐⭐

About

Python quiz with timed questions across 3 difficulty levels. Requires quiz_questions.csv and Python 3.x with Tkinter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages