Now you can add a quiz to Moodle. Click Proceed to course content → Add an activity or resource. The Moodle toolbar will appear on the screen. Choose Quiz in the Activities section → Add.
Enter the quiz name and its description. It’s also important to set a number of options so that your learners don’t cheat. You can find details on each option in this Moodle help doc; in this article, we’ll cover 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
Let’s make the test automatically open on September 17 at 11:00. Until that time, learners will see only the exam description in their account.
The end date is September 18 at 12:00; at this time the quiz will be closed. If a user forgets to take the test in time, he or she will automatically fail.

Set the start and the end dates
Time limit
Usually, 30 minutes to an hour is enough, but it depends on the complexity of the assessment. In some cases, learners may need 3 or 4 hours.
When the learners start answering questions, they see a countdown timer that shows how much time is left. When the time expires, the quiz is automatically closed.

Set a time limit for taking a quiz
The rest of the options in this section can be left as they are by default.
Setting #2: Grade. Set a Passing Grade
With the default settings, your employees 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.
Number of attempts
If this is a final exam, you can give just one attempt, and perhaps three for a pop quiz.

Limit the number of attempts to avoid guessing games
Passing grade
This is the minimum score required to pass a quiz. The pass grades are highlighted in green, and fail grades in red.

Set a minimal passing grade
As there are only two questions in our sample quiz, let’s set one point as the passing grade.
Setting #3: Layout. Build a Structure
You can group questions into blocks and place each question on a single page, or all the questions on one page.

If all the questions are on one page, learners can see the whole quiz at a glance
Setting #4: Question Behavior. Shuffle Answers
For additional anti-cheat protection, choose Yes in the Shuffle within questions line so that the parts making up each question will be randomly shuffled each time users take the quiz.

Enable shuffle within questions
Setting #5: Overall Feedback. Provide a Final Comment
The overall feedback is a text which users see after completing the quiz. You can show different text depending on the final score: praise high performers and tell flunkers the rules of retaking the quiz.

Overall feedback is a message your learners see after completing the quiz
For now, we’re done with the main settings. Click Save and Display. The system will forward you to a new page:

You’ll see this page when you create a sample course
Previously, we set the minimum passing grade for the quiz. Now, we need to indicate the highest score. Click Edit quiz and enter the mark in a field that appears after clicking. Since there are only two questions in our sample test, the highest score will be two points.

Specify the maximum score. In this case it’s 2 points