Skip to main content Skip to navigation

Create a quiz activity

The Quiz activity allows a teacher to design and build quizzes consisting of a large variety of question types, including multiple-choice, numerical, short answer and gap-fill.

These questions are stored 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 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 quizzes, or when giving multiple attempts, but you do not want the questions on the topic to be the same each time.

In this guide:

Create categories for questions in the question bank

  1. Click on the Actions menu in the top-right of your Moodle space.
  2. Click More...
  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 Actions menu in the top-right of your Moodle space.
  2. Click More...
  3. Click on Questions or, if you have just finished creating categories. click on the Questions tab.
  4. Click Create a new question.
  5. Choose the required question type and click Add. See more on Moodle question types here.
  6. Select the relevant category in which to save the new question.
  7. Under Question name, enter a short description of what the question is about. Students won't see this name but it will be useful for you to identify questions later on.
  8. Enter the question text and answers as appropriate.
  9. Click the Save changes button.

Create a quiz activity

Once you have created all of your questions in the categories, return to your main course page.

  1. Turn editing on.
  2. Click Add an activity or resource in the section where you want the quiz to appear.
  3. Choose Quiz.
  4. 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.
  5. Go through the settings sections, choosing options as required to meet your requirements. See the Moodle Docs guide on Quiz settings for more detailed guidance.Link opens in a new window
  6. When you have gone through all of these settings and made your choices, click the Save and display button at the bottom of the page.
If you're unsure about any of the settings, look for the icon next to a field for an explanation of what it means.

Add questions to a quiz

  1. In the Moodle space, click on the existing quiz.
  2. Click the Actions menu and then Edit quiz.
  3. Click on Add to open the drop-down list and choose from:
    •  a new question, which will allow you to create a new question from scratch.
    •  from the question bank which will allow you to select question(s) that you want to appear every time the quiz is taken.
    •  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. We advise setting the maximum grade the same as the displayed Total of marks.
  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.

Review quiz attempts

Once attempts have been made on the quiz, the teacher can click the quiz name and access the reports by clicking the link Attempts - (No. of attempts.)

The attempts page gives a useful overview of the attempts including the total grade, time taken and the state of the attempt (in progress, finished etc.). This overview can help you identify areas of concern where, for example, many students are getting a particular question wrong. Notice you can also review individual attempts by clicking the Review attempt links.

This data can be exported using the options at the top of the page. The grades are also recorded in the course grade book which is accessible by clicking on Grades in the left-hand navigation drawer.

See Moodle Docs for more information on viewing attempts and reports.

The information on this page relates to Moodle v3.10 and was last updated November 2021.


Filter by tool, task or content