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.
- 🎯 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
-
Clone the repository
git clone https://github.com/MuhammadAdnan1998/Building_Quiz_App_Using_Python.git cd quiz-app
-
Create a virtual environment (optional but recommended)
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
-
Install dependencies
pip install streamlit
streamlit run quiz_app.py
- Python 🐍
- Streamlit 🎈
- Random Module 🎲 (for selecting non-repeating questions)
- Time Module ⏳ (for feedback delay)
- ⏳ Timer for Each Question
- 📊 Leaderboard System
- 🌍 Multiple Question Categories
- 🎭 Dark Mode Support
Pull requests are welcome! Feel free to fork the repository and submit improvements.
This project is open-source and available under the MIT License.
🚀 Built with ❤️ using Streamlit