How korepupavankumar/ai-quiz-generator works
Smart Quiz Challenge is a small interactive command-line quiz. A player enters a name, answers a fixed set of questions, receives correctness feedback and a final performance message, and the program appends their score to a file. The questions are defined in quiz.py; questions.txt is present in the tree but is not used in the sampled source. The graph focuses on that observed runtime workflow.
Main entry points: quiz.py Quiz runner · scores.txt Score history
Components 6
Other components
- Player
- Quiz runner
quiz.py - Question set
quiz.py - Answer grading
quiz.py - Results and feedback
quiz.py - Score history
scores.txt
Connections 9
- Player → Quiz runner: starts and names
- Quiz runner → Question set: iterates
- Quiz runner → Player: asks questions
- Player → Quiz runner: submits answers
- Quiz runner → Answer grading: checks answers
- Answer grading → Results and feedback: updates score
- Quiz runner → Player: shows feedback
- Quiz runner → Score history: appends score
- Quiz runner → Player: confirms save