AI Quiz Maker – Panda Hacks 2025 Submission
Inspiration
During my medical studies, I constantly struggled to retain dense material. I had pages of notes, but testing myself was slow and tedious. The traditional way of creating quizzes took too much time.
With generative AI on the rise, I realized I could instantly transform my notes into interactive quizzes. This would turn passive reading into active recall, a scientifically proven method to boost long-term memory retention.
How I Built It
- Framework: Streamlit for an intuitive, web-based interface.
- AI Engine: Powered by OpenAI’s GPT models for question generation.
- PDF Export: Using
FPDFso users can download and print their quizzes. - UI Features:
- Minimalist design with navigation (Home, Quiz Generator, About)
- Motivational quotes to keep learners engaged
- One-click quiz generation and export
- Minimalist design with navigation (Home, Quiz Generator, About)
Basic Workflow:
- User pastes their topic or notes.
- AI generates 5 multiple-choice questions with 4 options each.
- Answers are stored and the quiz can be exported as PDF.
What I Learned
- Prompt Engineering: Getting consistent, high-quality output from LLMs.
- User-Centered Design: Creating tools for people who aren’t technical.
- API Integration: Connecting Streamlit with AI
Challenges Faced
- Quota Limits: Navigating free-tier restrictions without breaking the user flow.
- Response Consistency: Ensuring AI output stayed in clean multiple-choice format.
- Error Handling: Dealing with API failures gracefully.
- UI Flow: Making navigation simple yet functional in a short timeframe.
🚀 Future Plans
- Free, Local AI Models: Remove API cost barriers by integrating open-source LLMs.
- Adaptive Quizzes: Difficulty adjusts based on the user’s answers.
- Topic Recommendations: Suggests new quizzes based on knowledge gaps.
Log in or sign up for Devpost to join the conversation.