How to Create a Moodle Quiz: Step-by-Step Guide
Quizzes work in 2 parts. You need to set up the quiz first and then add the questions. You can create the questions before directly into the question bank and add them to your quiz.
Or you can create them at the end of setting up your quiz. They will be saved into your question bank so you can use them for another time.
2. The Basic Settings
Setting #1: Timing. Protect from Cheating
By default, learners have unlimited time to pass the quiz; they can get started today and finish in three days with the highest score by copying the answers from the textbook.
To obtain credible results, we’ll set an assessment period and time limit.
Assessment period
This test will automatically open on September 30 at 9.10. Until that time, learners will see only the exam description in their account.
The end date is September 30 at 10.30; at this time the quiz will be closed. If a user fails to take the test in time, he or she will automatically fail.
In this example the test is probably taking place within a lesson.
Time limit
This totally depends on the type of exercise that you are doing. For simple QCM or gap-fill exercise 20 - 30 seconds per question is enough. When the students start answering questions, they see a countdown timer that shows how much time is left. When the time expires, the quiz is automatically closed.
Setting #2: Grade. Set a Passing Grade (Optional)
With the default settings, students have an unlimited number of attempts to answer the same question. As a result, a quiz can be passed by a random choice method: they make a mistake and immediately change the answer, and so on until they pass. If you prefer learners not to play guessing games, limit the number of attempts and set a passing score.

Passing grade
This is the minimum score required to pass a quiz. The pass grades are highlighted in green, and fail grades in red.
Number of attempts
If this is a final exam, you can give just one attempt, and unlimited for a practice quiz.
Grading method
If this is a practice, students get to keep the highest grade they have achieved.
Setting #3: Layout. Build a Structure
It is a good idea to choose “every question on a new page” because each question is saved when you go to a new page/question. If there is an internet outage or issue, all the questions answered so far will be saved rather than the student needing to start again (if that is possible).