How to create a quiz in a course module
Accessing courses
Creating a quiz
Go to the desired module, click on "...", and then on "Create a quiz for this module" (number 3 in the image).
On the "Confirm action" popup that appears, click on "Confirm" (number 4 in the image).
Adding questions
To start creating quiz questions, click on "Add a question" (number 5 in the image).
Add answers to your question, by clicking on "Add an answer" (number 7 in the image).
Uncheck the "Correct answer" box for incorrect answers (refer to number 9 in the image) and click "Save" (refer to number 10 in the image). Otherwise, if the answer is correct, click the "Correct answer" checkbox (number 11 in the image).
At the course level, correct answers will appear with a green color.
To make the quiz visible to your students, click on the "Activate Quiz" button (number 12 in the image).
Once activated, the quiz will appear as part of the curriculum. Note however that the quiz will only be accessible after all of the module's lessons have been marked as completed.
Deactivating the quiz
If you need to deactivate the quiz, click on the "Deactivate quiz" button located within the module (number 14 in the image).
Note: To edit questions or answers, or to add/delete new questions, deactivate the quiz, make the necessary changes, and then reactivate it.
Useful article :