Skip to main content Skip to navigation

Create a quiz

The Quiz activity allows participants with editing rights to design and build quizzes consisting of a large variety of question types, including multiple choice, true-false, short answer and gap-fill.

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, add a questions to the categories, and then create the 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. This is 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.

Create categories for questions in question bank

  1. Click on the gear icon (cog icon) in the top-right of your Moodle space
  2. Choose 'More' from the action menu.
  3. In the Question bank section, click 'Categories'.
  4. Under 'Add category', you can create as many categories (one by one) as you require. Fill in at least the field for 'Name' before clicking 'Add Category'. Leave the parent category as it is by default.

Create questions in categories

If you have just finished creating categories, you can directly go to step 3.

  1. Click on the gear icon (cog icon) in the top-right of your Moodle space
  2. Choose 'More' from the action menu.
  3. Click on 'Questions' or on the 'Questions' tab if you have just created Categories.
  4. Click 'Create a new question'.
  5. Choose the required question type and click 'Add'. See more on Moodle question types here.
  6. Category - make sure you choose to put it into the relevant category.
  7. Enter the question and answers.
  8. Click '

Create a quiz

  1. Once you have created all of your questions in the categories, return to your main course page.
  2. Click on the gear icon (cog icon) in the top right corner to open the action menu.
  3. In the action menu, click on 'Turn editing on' if it is not yet turned on.
  4. Click 'Add and activity or resource' in the topic/section where you want the quiz to appear.
  5. Choose 'Quiz' from the list.
  6. 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. Tick the box for 'Display description on course page' if you wish participants to see the description.
  7. Go through the settings sections, choosing options as required to meet your requirements.
    • Timing:
      • 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:
      • 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.
    • Layout:
      • 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
    • Overall feedback: Is text shown after an attempt has been made, dependent on certain grade boundaries, as per example below.
  8. When you have gone through all of these settings and made your choices, click 'Save and Display' at the bottom of the page.
If you're unsure about any of the settings, look for the question mark icon next to a field: Click on it for useful explanations of the options to choose from.

Add questions from the question bank to a quiz

  1. In the Moodle space, click on the existing quiz.
  2. Click 'Edit quiz'.
  3. Click on 'Add' to open the drop-down:
    • Add 'a new question', which will allow you to create a new question from scratch.
    • Add 'from the question bank', will allow you to select question(s) that you want to appear every time the quiz is taken.
    • Add 'a random question', which will allow you to add any number of random questions from a particular category.
  4. Assign a mark to each question by clicking on the pencil icon to the right-side of each mark, and then set a maximum grade.
  5. Click 'Save'.
  6. Go back to your main quiz page by clicking on the quiz name in the breadcrumb trail, or on your Moodle course page, you can then preview the quiz by clicking on 'Preview quiz now'.
If you want to learn more about Moodle quizzes, a two-hour training session on setting up quizzes in Moodle is available to book on to via the IT Services training portal, here. 

Find out more about Moodle Quiz:

The information on this page relates to Moodle v3.6 and was last updated February 2020.


Filter by tool, task or content