2 Introduction & first examples
LabQuiz: A suite of tools for integrating quizzes into Jupyter notebooks
2.1First examples¶
Quizzes are integrated into the subject throughout the tutorial or practical exercise, based on a questionnaire prepared in advance.
👉🏼 A first example to illustrate a multiple-choice quiz, with tips and corrections:

Figure 1:Question during the lab session
👉🏼 Second example with numerical values

Figure 2:Another question during the practical work
(with the quiz blocked if the answer has already been submitted! 😊)
👉🏼 Following examples present template-based questions (use of values passed from notebook’s context, or dynamically generated)

Figure 3:Example of confusion matrix with dynamic counts (and expected values)

Figure 4:Example of linear regression - computation of prediction with dynamic variables

Figure 5:MCQ for a linear regression example
In the following
the label 🧑🏫 🏫 refers to information specific to teachers or subject designers
the label 🧑🎓 refers to information specific to students