DSC-McMaster-U / Gamified-Learning-Platform

MIT License
6 stars 14 forks source link

Developed quiz submission logic #61

Closed Aaron-Rajan closed 11 months ago

Aaron-Rajan commented 11 months ago

Implemented code to handle quiz submissions.

quizSubmit.py: The response variable that should hold the user's response is initialized with a dummy value for now. The code uses json files to collect and hold data from the quiz. The code iterates for each question defined in the first module, appending the user's result along with the question itself into the response.json file.

The questions.json file is organized into modules for specific subjects, in which questions along with the correct answers are defined.