This is a web-based Python AI Quiz Application built using Flask, SQLAlchemy, and Bootstrap. The quiz focuses on Artificial Intelligence (AI) topics such as deep learning, computer vision, and natural language processing (NLP).
The quiz questions are stored in a database (SQLite) instead of being hardcoded, making it effortlessly customizable. This allows users to easily modify, expand, or update the quiz content without changing the applicationβs code, ensuring scalability and flexibility. The included AI-related questions may serve as placeholders, meaning the quiz can be quickly adapted to any topic by simply updating the database.
β
AI-related quiz with multiple-choice questions
β
User session management (tracks the highest score)
β
Dynamic leaderboard displaying the best score
β
Responsive design using Bootstrap
β
Modular and structured Flask application
β
SQLite database integration
- Python (Flask, SQLAlchemy, Flask-Session)
- HTML, CSS, Bootstrap (Frontend)
- SQLite (Database)
- Docker (Environment)
git clone https://github.com/FilipRokita/python-ai-quiz
cd python-ai-quizdocker compose up -dβ
Visit: http://0.0.0.0:8082/
git clone https://github.com/FilipRokita/python-ai-quiz
cd python-ai-quizpip install -r requirements.txtpython init_db.pypython add_questions.pypython app.pyβ
Visit: http://127.0.0.1:5000/
π¨βπ» Filip Rokita
π LinkedIn Profile
π GitHub Profile
This project is licensed under the MIT License.
π Happy coding! π
