I have been trying to understand the flow of quiz creation and it already took me a lot of time understanding the association between tables used to fetch questions from the database as per my requirement.
What I did not understand is after selecting the questions to be added to a quiz, where does that data go?
Considering an easy flow, we give a name to the quiz, add questions and then there is a record in the database with a unique quiz id and the list of questions in that quiz. But that is not the case with moodle or rather moodle database.
Can anybody give me a detailed walk-through of the flow of quiz creation, where are the questions for a particular quiz (say quiz id is 10) stored and how the association is carried out between multiple tables included in this process.