Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 1.93 KB

README.md

File metadata and controls

64 lines (50 loc) · 1.93 KB

📝 Interactive Quiz Application

This is an Interactive Quiz Application built using Streamlit. The app presents multiple-choice questions, tracks progress, and provides instant feedback on user responses. It also maintains a score and prevents question repetition to enhance the user experience.

🚀 Features

  • 🎯 Unique Questions – No repetition within a session
  • 📊 Progress Tracking – Shows the number of completed questions
  • Instant Answer Validation – Correct/Incorrect feedback
  • 🏆 Final Score Display – Shows total score after completion
  • 🔄 Restart Option – Allows users to retake the quiz
  • 🎨 User-Friendly Interface – Responsive UI using Streamlit

📦 Installation

  1. Clone the repository

    git clone https://github.com/MuhammadAdnan1998/Building_Quiz_App_Using_Python.git
    cd quiz-app
  2. Create a virtual environment (optional but recommended)

    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    venv\Scripts\activate     # On Windows
  3. Install dependencies

    pip install streamlit

▶️ Run the Application

streamlit run quiz_app.py

📸 Screenshots

alt text alt text alt text alt text

🛠️ Technologies Used

  • Python 🐍
  • Streamlit 🎈
  • Random Module 🎲 (for selecting non-repeating questions)
  • Time Module ⏳ (for feedback delay)

📌 To-Do (Future Enhancements)

  • Timer for Each Question
  • 📊 Leaderboard System
  • 🌍 Multiple Question Categories
  • 🎭 Dark Mode Support

🤝 Contributing

Pull requests are welcome! Feel free to fork the repository and submit improvements.

📜 License

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


🚀 Built with ❤️ using Streamlit