Moodle - Creating and Managing Quiz Questions

How to create different types of quiz questions and manage them in a bank.

Table of Contents


 Managing a Question Bank
 Creating a question category
Creating a question category is a great way to organize the questions you will be creating. A best practice is to create a category for each quiz you plan on making and adding questions to that category as you make them.
1. From your course homepage, go to your question bank by clicking the Question Bank link in the Settings block, or click the drop-down arrow beside the "Question Bank" link.

Question Bank Image

2. Then, in the Settings block beneath "Question Bank," click Categories.

3. Add a category by selecting a parent category, giving the category a name and info (optional), and clicking the Add category button at the bottom of the page.

Categories Image

4. When creating a question, you can add it to a specific category by selecting the category from the dropdown labeled "Category" in the "General" section.

Selecting Category Image
 Managing questions
1. Click Questions beneath "Question Bank" in the Settings block

2. From the question bank , you can open a category of questions using the “Select a category” drop-down menu at the top of the page.

managing questions imag

3. You can preview, edit, move, or delete questions using the standard set of icons. You can check the box to the left of one or more questions and click the Delete button or Move to button (buttons are located at the bottom of the page) to delete the questions or move them to another category respectively.

4. To add a new question, select Create new question and use the menu to select the desired question type. See the other tutorials below for more information on creating various question types.
 Creating a Description
1. From within your question bank, click Create new question and select Description. Click Next.

2. Give the description a name in the “Question name” field and type the desired text in the “Question text” field. You can choose to display an image in the description using the “Insert/edit image” button in the HTML editor.

3. When finished, click the Save changes button at the bottom of the page.

 Creating a True or False Question

1. From within your question bank, click Create new question and select True/False. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.

3. Specify the question’s grade in the “Default points” field. Since there are only two possible answers, the penalty factor is always “1” (students must answer the question correctly the first time to earn any credit).

4. Specify the correct answer using the “Correct answer” drop-down menu. Next, give feedback for the “True” and “False” answers in the respective fields.

5. When finished, click the “Save changes” button at the bottom of the page.

 Creating a Multiple Choice Question

1. From within your question bank, click Create new question and select Multiple choice. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.

3. Specify if the question has multiple answers or only a single correct answer using the “One or multiple answers?” drop-down-menu. Select the choice numbering using the “Number the choices?” drop-down menu.

4. In each choice area, type the answer, select the grade for that answer, and give feedback for the answer. The correct answer must have a grade of 100%. If it is a multi-answer question, the sum of the grades of all correct answers must be 100%.

5. You can add more choices by clicking the “Blanks for 3 more choices” button. You can also provide overall feedback for any correct, partially correct, or incorrect response in addition to the feedback for specific choices.

6. When finished, click the “Save changes” button at the bottom of the page.

 Creating a Matching Question

1. From within your question bank, click Create new question and select Matching. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field. Leaving the “Shuffle” box checked will randomize the order of the matches for each attempt.

4. In each question area, type the name or statement to appear in the “Question” field and the matching answer in the “Answer” field. HTML can be used to format text or insert media into the “Question” fields.

5. You can add more choices by clicking the “Blanks for 3 more choices button”. When finished, click the “Save changes” button at the bottom of the page.

 Creating a Numerical Question

1. From within your question bank, click Create new question and select Numerical. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field.

4. In each answer area, type a possible answer in the “Answer” field and the acceptable error (as a number, not a percentage) in the “Accepted error” field. Select the score for the answer from the “Grade” drop-down menu and give a response to the answer in the “Feedback” field.

5. You can add more possible answers by clicking the “Blanks for 3 more choices button”. You can specify units in the “Unit” field and indicate what value to multiply the possible answers by if that unit is chosen.

6. When finished, click the “Save changes” button at the bottom of the page.

 Creating a Calculated Question

NOTE: These instructions are generally applicable to Calculated Simple and Calculated Multichoice questions as well.

1. From within your question bank, click Create new question and select Calculated. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field making sure to indicate wildcards using curly brackets (i.e. {x}). Wildcards are values that will be different for each student taking the quiz.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field.

4. Type the answer formula in the “Correct Answer Formula” field. The formula must contain at least one of the wildcards in the question text. Use the “Grade” drop-down menu to choose what score a student will get for using the formula. Click here to learn about the Moodle's math syntax.

5. Use the “Tolerance” field and “Tolerance type” drop-down menu to specify a range of acceptable answers. Recommended: Relative, +/-.01 (translates into 1% acceptable margin of error).

6. Use the “Format” drop-down menu to specify whether a student’s answer should be precise to a number of decimal places or significant figures and use the “Correct answer shows” drop-down menu to specify how many places or figures.

7. Give a response to a student’s answer in the “Feedback” field. You can specify units in the “Unit” field and indicate what value to multiply the possible answers by if that unit is chosen. When finished, click the Next Page button.

8. For each wildcard, specify whether it will use a shared or private dataset. A private dataset can only be used in this question while a shared dataset can be used in multiple calculated questions and is useful when creating many similar calculated questions. Click the “Next Page” button when finished.

9. Next, specify a “Range of Values”, number of “Decimal Places”, and a “Distribution” for each wildcard’s dataset.

10. In the “Add” section, click the “force regeneration” radio button and select the desired number of dataset values from the drop-down menu to the right of the “Add” button. Next, click the Add button to add the values to the wildcard’s dataset.

11. When finished, click the Save changes button at the bottom of the page.

 Creating Calculated Format Questions

1. From within your question bank, click Create new question and select Calculated. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field making sure to indicate wildcards using curly brackets (i.e. {x}). Wildcards are values that will be different for each student taking the quiz.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field.

4. In the "Correct answer base and format" section, select the desired options for "Required answers in base" and "Minimum/exact integer digits."

5. Next, choose whether you'd like the correct answer to be displayed as with a minimum number of integer digits or an exact number of integer digits. This applies only to binary, octal, and hexadecimal bases. If minimum, then all formatted formulas and correct answers will be displayed with at least the given number of integer digits (digits to the left of the radix point). If exact, then all formatted formulas and correct answers will be displayed with exactly the given number of integer digits. All such values will be masked to the correct number of bits/digits.

6. Choose the desired number of fractional digits and whether you would like to have groupings of digits.

7. Type the answer formula in the “Correct Answer Formula” field. The formula must contain at least one of the wildcards in the question text. Use the “Grade” drop-down menu to choose what score a student will get for using the formula.  Click here to learn about the Moodle's math syntax.

8. Use the “Tolerance” field and “Tolerance type” drop-down menu to specify a range of acceptable answers. Recommended: Relative, +/-.01 (translates into 1% acceptable margin of error).

9. Use the “Format” drop-down menu to specify whether a student’s answer should be precise to a number of decimal places or significant figures and use the “Correct answer shows” drop-down menu to specify how many places or figures.

10. Give a response to a student’s answer in the “Feedback” field. You can specify units in the “Unit” field and indicate what value to multiply the possible answers by if that unit is chosen. When finished, click the Next Page button.

11. For each wildcard, specify whether it will use a shared or private dataset. A private dataset can only be used in this question while a shared dataset can be used in multiple calculated questions and is useful when creating many similar calculated questions. Click the Next Page button when finished.

12. Next, specify a “Range of Values”, number of “Decimal Places”, and a “Distribution” for each wildcard’s dataset.

13. In the “Add” section, click the “force regeneration” radio button and select the desired number of dataset values from the drop-down menu to the right of the “Add” button. Next, click the Add button to add the values to the wildcard’s dataset.

14. When finished, click the Save changes button at the bottom of the page.

  Creating Cloze Questions

Visit the Cloze question KnowledgeBase page to learn how to create Cloze Questions.

 Creating Essay Questions

1. From within your question bank, click Create new question and select Essay. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.

3. When finished, click the “Save changes” button at the bottom of the page.

4. An essay question must be graded manually. To grade them, first click on the quiz on your Moodle course homepage. Next, in the "Administration" block on the side of your screen, click Results then select Manual Grading.

Manual Grading Image

5. Click Grade under "Questions that need grading" to grade the essay questions.

grade image

6. Grade the question and select Save and go to next page to grade all the responses.

 Creating Drag and Drop Onto Image Questions

Drag and drop questions for labeling images are a popular form of 'selection' question consisting of images or words which can be dragged from a list and dropped into pre-defined gaps on the base image.  Click here for a video tutorial on making drag and drop onto image questions.

1. From within your question bank, click Create new question and select Drag and drop onto image. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field.

4. Upload the question's background image in the "Drop zones" section.

5. Upload the question's draggable images in the "Draggable items" section or enter text if you would like the question to have draggable text.

6. Select Refresh Preview below "Preview" after you have uploaded all images or entered all text and match each drop zone to a draggable item.

7. Scroll up to the preview section and drag each draggable item to the correct drop spot on the background image.

8. Enter any feedback or hints you would like to give students. Also enter the penalty for each incorrect try if you would like to allow students multiple attempts at a question.

9. When finished, click the Save changes button at the bottom of the page.

 Creating Select Missing Words Questions

Select Missing Words questions allow instructors to have a string of text that they wish the student to label or complete by selecting missing words from a drop-down list.  Click here to view a video tutorial on making select missing words questions.

1. From within your question bank, click Create new question and select Select missing words. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field. Inside the question text, label the place you would like the missing words to be by having a number encased in double brackets, "[[1]]". The number encased in the double brackets will correspond to the choice number you will fill in later.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field.

4. Enter the correct answer for each blank in the "Choices" section. Make sure that each correct choice corresponds to the correct number in double brackets (i.e. Choice 1 corresponds to [[1]], Choice 2 corresponds to [[2]], etc.) If you would like extra choices that won't be used in the answer, just add more choices than you have in the question text (i.e. fill in Choice 4 with text even though you don't have a [[4]]) You can also group the choices together if you want them to be in separate drop-down menus by selecting different groups for the choices you would like separated.

5. Enter any feedback or hints you would like to give students. Also enter the penalty for each incorrect try if you would like to allow students multiple attempts at a question.

6. When finished, click the Save changes button at the bottom of the page.

 Creating Variable Numeric Questions

Numeric questions support the use of random numbers, variables and expressions within questions.  This type of question has the question author type in predetermined formulas with variables which are replaced by random values when each student takes the quiz.  Click here for more information about the Variable Numeric question.

1. From within your question bank, click Create new question and select Variable Numeric. Click Next.

2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field.  In the question text, enclose the variables you would like to be replaced with random values in double square brackets (e.g. [[a]]) The formatting of the numbers may be controlled using sprinf() style controls. Click here to find the sprinf() style guide.

3. Specify the question’s maximum score in the “Default points” field and overall feedback for the question in the “General feedback” field.

4. Sometimes it is desirable to base a sequence of questions on the same set of numbers. To do this, use the same word in the "String to act as a seed for randomisation" in each variable numeric question you would like to be linked together.  Please note that this then generates the same set of numbers across a sequence of questions for a student but different students get different sets of numbers. Interested readers may wish to know that behind the scenes the random number seed that is used combines the seed provided by the author, the students PI and the students attempt number.  If you would like a student to have questions with different random numbers, leave the "String to act as seed for randomisation" blank.

5. You will need to define each variable you have in the question text in the "variables" sections.  You can choose to make the variable calculated by Moodle in a formula or set a predetermined value for the variable.  For example, if you have [[a]] in your question text you will put a= followed by any numbers, common mathematical operators (+, -, *, /, etc.), or other variables used in the question.  You also have the option of using random integers by typing in rand_int(m,n) into the formula.  This will give a random integer between whatever you set as m and n.  

6. Select whether or not you would like to require students to have their answers in scientific notation.

7. Enter the formula for the answer to the question in the "Answer" section (e.g. If you asked "What is [[a]] + [[b]]?" your answer formula would be a+b).  Also select the feedback and partial credit given for the answer.  Multiple answers can be entered if you would like to give credit for different answers.

8. Enter any feedback or hints you would like to give students.  Also enter the penalty for each incorrect try if you would like to allow students multiple attempts at a question.

9. When finished, click the Save changes button at the bottom of the page.

 Creating Variable Numeric Set Questions Variable numeric set questions are similar to variable numeric questions but are limited to a set of predetermined values. This makes variable numeric sets "safer" because all possible variations of the question can be tested before the question is released to students. Click here for more information on Variable Numeric Set questions. 1. From within your question bank, click Create new question and select Variable Numeric Set. Click Next. 2. Give the question a name in the “Question name” field and type the desired text in the “Question text” field. In the question text, enclose the variables you would like to be replaced with random values in double square brackets (e.g. [[a]]) The formatting of the numbers may be controlled using sprinf() style controls. Click here to find the sprinf() style guide. 3. Specify the question’s maximum score in the “Default mark” field and overall feedback for the question in the “General feedback” field. 4. Sometimes it is desirable to base a sequence of questions on the same set of numbers. To do this, use the same word in the "String to act as a seed for randomisation" in each variable numeric question you would like to be linked together. Please note that this then generates the same set of numbers across a sequence of questions for a student but different students get different sets of numbers. Interested readers may wish to know that behind the scenes the random number seed that is used combines the seed provided by the author, the students PI and the students attempt number. If you would like a student to have questions with different random numbers, leave the "String to act as seed for randomisation" blank. 5. You will need to define each variable you have in the question text in the "variables" sections. You can choose to make the variable calculated by Moodle in a formula or set a predetermined value for the variable. For example, if you have [[a]] in your question text you will put a= followed by any numbers, common mathematical operators (+, -, *, /, etc.), or other variables used in the question. You also have the option of using random integers by typing in rand_int(m,n) into the formula. This will give a random integer between whatever you set as m and n. Selecting Recalculate now under the "Variables" sections will show the different numbers that will be available for each student to have. In the question, each student will randomly get one of those numbers as a variable in their question. 6. Select whether or not you would like to require students to have their answers in scientific notation. 7. Enter the formula for the answer to the question in the "Answer" section (e.g. If you asked "What is [[a]] + [[b]]?" your answer formula would be a+b). Also select the feedback and partial credit given for the answer. Multiple answers can be entered if you would like to give credit for different answers. 8. Enter any feedback or hints you would like to give students. Also enter the penalty for each incorrect try if you would like to allow students multiple attempts at a question. 9. When finished, click the Save changes button at the bottom of the page.

 Creating STACK Questions

STACK stands for System for Teaching and Assessment using a Computer algebra Kernel. This question type allows instructors to ask math based questions with the help of computational algebra software.  Click here for the Moodle Docs page on STACK questions.

1. From within your question bank, click Create new question and select STACK. Click Next.

2. Give the question a name in the “Question name” field.  Enter variables you would like to use throughout your question in the "Question variables" field. Type the desired text in the “Question text” field. Be sure to have at lest one "input" section in your question by having "[[input:ans1]]" and "[[validation:ans1]]" typed somewhere in your question. This is where students will be able to input their answers. If multiple answers are desired for one question, add multiple input and validation sections.

3. Specify the question’s maximum score in the “Default mark” field and feedback for the question in the “Specific feedback” field. Note: If there are multiple parts to a question, specific feedback for each part can be giving by having [[feedback:prt#]] with # being replaced by the part number you would like the feedback to be given for.

4. Enter the input for each answer and create a potential response tree for each answer. More information about entering input and creating potential response trees can be found at the Authoring STACK questions information page.

5. Enter standard feedback, hints, and other question options in the "Options" section of the question.

6. Put any tags you would like associated with this question in the "Tags" section.

7. When finished, click the Save changes button at the bottom of the page.



Keywords:Creating Quiz Questions essay true false multiple choice calculated numerical cloze short answer description 2.1 2.3 2.4   Doc ID:20891
Owner:Deborah H.Group:Moodle
Created:2011-10-21 15:35 CDTUpdated:2016-07-26 11:12 CDT
Sites:DoIT Help Desk, Moodle
Feedback:  7   6