Building Quiz

Quiz activity


How a Moodle quiz works

Note: If you're new to quiz creation, try the Quiz quick guide first.

Once a quiz has been added to the course and the Quiz settings established,the teacher can start to build the quiz. The teacher can access the quiz to edit the questions by clicking directly on the Quiz name on the course home page or by clicking "Edit quiz" in Administration>Quiz administration. (We can also make questions in the Question bank without first creating a quiz. These questions may then be used later.)

Add questions

Once you have accessed the quiz editing screen as above, we can add questions from a number of locations:

  1. Click the 'Add' link as in the screenshot below. (Note that in the US, the term 'marks' is replaced by 'points'.)
  2. When it opens up, choose either to add a new question, to select a question from the question bank or to add a random question.

Creating a new question

1. To make a brand new question, click 'Add' and then '+ a new question'.

2. From the next screen, choose the question type you want to add and click "Next" ('When you click on a question type on the left, helpful information appears on the right. )

3. Fill in the question form, making sure to give a grade to the correct answer.

4. Click "Save changes".

Note: If you have a very complex question, and you want to check it as you go along, we can preview it and then click "Save changes and continue editing".

) and previewed by clicking the magnifiying glass icon.

New feature
in Moodle 3.3!

As well as deleting individual questions with the delete (bin/trash can) icon, it is possible to delete more than one question by pressing the 'Select multiple items' button and choosing the questions to be removed:

Adding responses and feedback

5. When you add responses and feedback, remember we can expand the toolbar to show more buttons.

6. We can continue adding questions this way, clicking 'Add' and '+ a new question' each time.

Choosing a pre-made question

Note: It is also possible to import pre-made questions into your quiz, from Quiz administration>Question bank>Import. See Import questions for more information. Sample questions are available from the content database.

Adding a random question

As long as you have questions in the question bank, we can add random questions to your quiz by clicking 'Add' and then '+ a random question'. This might be useful if you have students in a class taking a quiz at the same time, because they are unlikely to get the same questions at the same time. The same question will never appear twice in a quiz. If you include several random questions then different questions will always be chosen for each of them. If you mix random questions with non-random questions then the random questions will be chosen so that they do not duplicate one of the non-random questions. This does imply that you need to provide enough questions in the category from which the random questions are chosen, otherwise the student will be shown a friendly error message. The more questions you provide the more likely it will be that students get different questions on each attempt. When a quiz with random questions is retaken, the random questions will be different from the ones in previous attempts. For a discussion on the behaviour of random questions, see MDL-6340

The grade for the randomly chosen question will be rescaled so that the maximum grade is what you have chosen as the grade for the random question.

We can add one or more random questions by choosing the number and category in the question bank. Note the die icon to highlight random question selection.

Quiz question tags

Note that although it is possible to tag questions, the feature does not currently work. See forum discussion:

Question categories

Questions can be stored and retrieved from categories in the Question bank. When you make a new question it defaults to the category with the course name. So if you make a quiz in the Senior Physics course, questions will automatically be added to "Default for Senior Physics". We can opt to have your quiz questions in a category of their own ("Quizname") or to add a subcategory.

To add a subcategory, go to Administration>Quiz administration>Question bank>Categories For more information on question contexts and categories, see Question bank

Users will have access to different categories according to their permissions. For example, a regular teacher might only have access to question categories in his own Physics course whereas his Faculty Head of Science with permissions in all science courses might have access to question categories in Biology and Chemistry as well.

Quiz layout

Section headings

Randomising the order questions appear

Making questions conditional upon other questions

Assigning points to questions

Administration > Quiz administration > Edit quiz > Editing quiz

We can set how many points each question is worth by changing the number in the box to the right of each question and we can change the maximum grade by changing the number in the box top right at the top of the quiz. The default is one point per question and 100.00 maximum grade.

The quiz module will do any maths, so for example, a 2 point question will be worth 2 times more when the Quiz module determines how many point out of 10 to award the student.

Previewing the quiz

NOTE: To get a more accurate view of how a student would view your quiz, it is advised to log in with a "dummy" student account created by the admin for testing activities. This is more reliable than the 'switch role to student' feature.

After quiz has been attempted

If one or more students have taken the quiz, we will see a list of all the questions in the quiz and a notice saying that we cannot add or remove questions.

We can change the order of questions, regrade them, preview an individual question and click on an question edit link that will allow us to directly edit the question stored in the question bank.

Note: We can delete all quiz attempts by students and then edit the quiz as if no students had attempted it. To do this,click the quiz name and then the Results link in the Administration block. This will present a list of students and their scores. Click "Select all" and then "Delete selected attempts".

Dealing with faulty questions

There are several ways to deal with "bad" questions in a quiz.

  • Change the grade for the bad question to 0 in the quiz.
  • Edit the question, changing what we will accept as a correct answer, then regrading the exam. Remember when changing a question that the next time it is used it will be as it was in the last edit. Also, regrading will only affect one quiz at a time.
  • We can edit the question to explain the situation to the student and then we can set the grade for the question to zero. After you make such changes you should regrade the quiz by clicking on the Results tab and then the Regrade tab. This will change the grade for all students who have taken the quiz so far. Remember, if the question is used by another quiz, your "explanation" will appear as part of that quiz.
  • We can change the grade for the bad question and then move or delete the question from your question category. The question will still appear on the quiz. Some places do not like to delete any question, but will move them to a "dead" or "bad" question category.
  • When you discover a bad question in your quiz, it may affect the question bank. Remember that a final might be made up of a certain number of random questions drawn from different question categories, the same categories used in a smaller subject quiz. It can be very important do something about bad or invalid questions in a question category when the categories are use in other places.

See also