Skip to main content Skip to navigation

Create a quiz

The Quiz activity module allows the teacher to design and build quizzes consisting of a large variety of Question types, including multiple choice, true-false, short answer and gap-fill, including a number of numerical varieties.

These questions can be kept in the 'Question bank' and can be re-used in different quizzes, which can include drawing questions at random from 'categories').

The optimum way to create quizzes, is to first create categories of questions, then add a quiz and pick the questions that you want to include.

By doing this, you will get the option to choose exact questions that you want to include, and have the option to choose questions at random from a category (very useful for revision type quizzes, or when giving multiple attempts, but you do not want the questions on the topic to be the same each time).

1. Following this advice, you first need to create categories for your questions in the question bank.

Click on the main settings cog wheel, top-right of your Moodle course, and choose 'More' from the list.

Settings - more

2. Scroll down the page and in the Question bank section, click 'Categories'.


3. Scroll down the page and create as many categories as you require by typing each a name, and clicking 'Add Category' (note: leave the Parent category as it is by default).

Add category

4. Once you have created the categories, the next step is to add questions into them.

From the Categories page, click on the 'Questions' tab.


You can also get to the question page, by clicking on the main settings cog-wheel, top-right of your Moodle course page, choosing 'More' and then clicking 'Questions'.

Question bank

5. Click the 'Create a new question' button.

Create a new question

6. Click the radio button to the left-side of the required question type and click 'Add'.

Choose question type

You may add a variety of different types of questions in the Quiz.

See more on Moodle question types here.

DON'T FORGET: When creating a question, make sure you choose to put it into the relevant category that you created earlier.

Choose a category

7. Once you have created all of your questions in the categories, return to your main course page and click 'Add and activity or resource' in the topic/section where you want the quiz to appear.

Add and activity or resource

8. Choose 'Quiz' from the list.


9. Give the quiz a name, and in the description box, you may choose to use this to provide instructions on the opening page of the quiz.

Quiz name and description

10. You the need to go through the settings sections, choosing options as required to meet your requirements.


Open/close the quiz: Set an automatic open and close date/time.

Time limit: Set a time limit.

When time expires: Decide what happens when the time expires (time limit or close date). It is advised that you choose;

Open attempts are submitted automatically.

The reason for this, is that at the end of a quiz, a student MUST click 'Submit all and finish'. On rare occasions, this is not done, and thus if the 'attempt will not be counted' option is chosen, the student's 'completed' submission will not be submitted, simply because they did not click this button, but it is totally up to you.

Submission grace period: Set a grace period for the student to click the 'submit' button after the closing date or time expires, but the attempt cannot be changed.


Grade to pass: This should be a numerical value out of the total number of marks, rather than a percentage, e.g. 7/10.

Attempts allowed: Set the number of attempts allowed.

Grading method: Result that is last recorded in the grade book.


New page: Choose how many questions you want to appear on each page, this includes being able to show all on one.

Question behaviour

Shuffle within questions: When giving multiple-attempts do you want the parts of each question to shuffle, for example multiple choice answers.

How questions behave:

Deferred feedback (most commonly used) - Students must enter an answer to each question and then submit the entire quiz, before anything is graded or they get any feedback.

Adaptive mode and Adaptive mode (no penalties) - Allows students to have multiple attempts at the question before moving on to the next question. This behaviour requires that the "Whether correct" box is ticked under "During the attempt" in the "Review options" section, at a minimum.

Interactive mode - After submitting one answer, and reading the feedback, the student has to click a 'Try again' button before they can try a new response. They can be given hints to help them. Once the student has got the question right, they can no longer change their response. Once the student has got the question wrong too many times, they are just graded wrong (or partially correct) and get shown the feedback and can no longer change their answer. There can be different feedback after each try the student makes. The number of tries the student gets is the number of hints in the question definition plus one.

Immediate feedback - Similar to interactive mode in that the student can submit their response immediately during the quiz attempt, and get it graded. However, they can only submit one response, they cannot change it later.

Deferred feedback or Immediate feedback with Certainty-based marking (CBM) - With CBM, the student does not only answer the question, but they also indicate how sure they are they got the question right. The grading is adjusted by the choice of certainty, so that students have to reflect honestly on their own level of knowledge in order to get the best mark.

Review options: Is very important, for you to achieve certain requirements. For example, if giving multiple attempts, you might choose to not allow students to see the 'right answer', otherwise a second attempt is rendered useless. Thinking about and manipulating these review options, can help you to achieve a wide range of quiz behaviour. If you have any queries or questions about this, please contact

Review options

Overall feedback: Is text shown after an attempt has been made, dependent on certain grade boundaries, as per example below.

Overall feedback

11. When you have gone through all of these settings and made you choices, click 'Save and Display' at the bottom of the page.

TIP: If you're unsure about any of the settings, look for the question mark icon to the right-side, which provide very useful explanations of the options to choose from.

12. You next need to add questions to the quiz, from your question bank. To do this, click the 'Edit quiz' button.

 Edit quiz

13. If you click on the 'Add' link, you will then see options to add a new question, which will allow you to create a new question from scratch, or add a set question from the question bank that you want to appear everytime the quiz is taken, or choose a, or any number of random questions from a particular category.

Add question

14. Once you have added questions as required, you will then need to assign a mark to each by clicking on the pencil icon to the right-side of each mark, and then set a maximum grade (remember to click save after changing), which is almost certain going to be the total of all marks.


15. If you go back to your main quiz page, by clicking on the link in the breadcrumb trail, or on your Moodle course page, you can then preview the quiz by clicking on the 'preview' button.


Preview quiz

Find out more about the Quiz (Moodle docs)

The information on this page relates to Moodle v3.4 and was last updated August 2018.


Filter by tool, task or content