04-2. Using quizzes -Creating questions- Contents
04-2. Using quizzes -Creating questions- Contents
In Moodle, you can create new questions of various types.
The location of required fields and entry conditions differ depending on the question type.
Below, we explain how to create questions for each type.
① Click “+ New Question” from the “Add” dropdown menu.
② Select "Multiple choice" choose a question type to add, then click “Add”.
③ Enter the question title in “Question name” and the question content in “Question text”.
(The question name is not visible to students, so we recommend using a title that helps you manage the question easily.)
④ Set the grading for the question under “Default mark”.
⑤ Also select whether it is a single-answer question or a multiple-answer question in "One or multiple answers?".
※By default, the “Shuffle the choices?” checkbox is selected. If not needed, uncheck it.
⑥ Under “Number the choices?”, set whether to add numbers like [a,b,c...] or [1,2,3...] before the options. If not needed, select “No numbering”.
⑦ Set the choices in "Answers". Enter the necessary number of options, including correct and incorrect ones, such as “Choice 1” and “Choice 2”.
(If creating five or more options, click “Add 3 more option fields” to increase them.)
If needed, also enter feedback comments for each option selected.
⑧ Assign point values to each option.
【For Single Answer Questions】
Set the score for the correct answer option to “100%”.
Leave the scores for incorrect answer options as “None”.
【For Multiple Correct Answers】
Set the point value for each correct answer so that their combined weight totals “100%”.
(Example: If there are 2 correct answers, set each to 50%)
For incorrect answers, either set their combined weight to “-100%” or set all to “-100%”.
(Example: If there are 3 incorrect answers, set each to -33.33333% or set all to -100%)
*Note: Even if the total weighting percentage becomes negative due to your selection, the score will not be negative and will be “0 points”.
⑨ Once you have finished creating the question, click “Save Changes”.
The screen will transition, and the multiple-choice question will be newly added to the quiz.
For Cloze questions, you can create "Multiple-choice," "Short-answer," and "Numerical" questions by providing blanks in the text. You can have multiple blanks for one question. However, when creating a question, you need to write a code for creating the question in "Question text".
① Click “+ New Question” from the “Add” dropdown menu.
② Select " Embedded answers (Cloze)" choose a question type to add, then click “Add”.
③ Enter the question title in “Question name”.
(The question name is not visible to students, so we recommend using a title that helps you manage the question easily.)
④ Enter the format for creating cloze questions in the “Question text” field.
*Refer to the descriptions for each type for the symbols and formats to enter.
⑤ Once you have finished entering the question text, click “Decode and verify the question text” to confirm the question is created.
If the entered format is correct, the items for each question will be displayed.
⑥ After creating the question, click “Save changes”.
The screen will transition, and the cloze question will be newly added to the quiz.
Below are concrete examples which explain how to create Cloze questions.
Above is a specific example which explains how to create a Cloze question.
Explanation of the input format for cloze questions
Symbol
Explanation of symbols
{ }
Indicates the start and end of the section corresponding to the question's solution.
The number just before ":MC:"
Represents the weight of the score (optional). If there is one blank in the question, or if there are multiple blanks but the weights of each grade are equal, the numbers can be omitted.
: question type:
Enclose the question type in ”: (colons)” to define it.
〜
Each choice is separated by "~".
=
Indicates the correct answer by adding it just before the correct answer choice.
#
Indicates the start of feedback (optional).
%Percentage of score%
Represents the percentage of the score given as partial points. %50% is a half score (optional).
*
Represents all but the displayed choices (optional).
Multiple-choice questions
■ Question format
MULTICHOICE (or MC; MCS when shuffling choices)
Choices are displayed in a drop-down menu, and select the correct answer from the menu.
MULTICHOICE_V (or MCV; MCVS when shuffling choices)
Choices are lined up vertically. The radio button displayed next to the choices is used to respond.
MULTICHOICE_H (or MCH; MCHS when shuffling choices)
Choices are lined up horizontally. The radio button displayed next to the choices is used to respond.
When using the created questions in a quiz, choices will not be shuffled when using "MC", "MCV", and "MCH" even if their shuffle functions are enabled in the quiz settings (“Question behaviour" -> "Shuffle within questions" set to Yes). Use "MCS", "MCVS" and "MCHS" to shuffle choices.
■Format
{1: MC: = Correct choice #Correct response feedback ~Incorrect choice 1 #Incorrect response feedback 1 ~Incorrect choice 2 #Incorrect response feedback 2… (Repeat thereafter)…}
Enclose the question type symbol (MC, etc.) in a colon (:). Change the "MC" portion to "MCV", "MCH", "MCS", "MCVS", or "MCHS" according to the type of question being created. It does not matter whether the incorrect or correct answer choices are entered first. For example, if the correct answer is attributed to the second choice, it will look as follows.
{1: MC: Incorrect choice 1#Incorrect response feedback 1 ~= Correct choice #Correct response feedback ~Incorrect choice 2 #Incorrect response feedback 2… (Repeat thereafter)…}
■Specific examples
Ex 1: Inline, weighted scoring
Chiba University {2:MCS: ~ = Moodle #correct ~Sakai #incorrect ~Blackboard Learn #incorrect} started operation in the academic year {1:MC:~= 2009 ~2010, ~2011}.
If there are multiple blanks in the question, you can change the weight of each point. The ratio of each score of {1:MC: …} and {2:MCS: …} is 1:2.
Ex 2: Display choices vertically
Select the correct Learning Management System (LMS) used at Chiba University:
{:MCVS:~=Moodle #correct~Sakai #incorrect~Blackboard Learn #incorrect}
Ex 3: Display choices horizontally
Select the correct Learning Management System (LMS) used at Chiba University:
{:MCHS:~=Moodle #correct~Sakai #incorrect~Blackboard Learn #incorrect}
Examples 1, 2, and 3 on the screen
Short-answer questions
■Question format
SHORTANSWER (or SA, MW)
Ignoring caps or small caps
SHORTANSWER_C (or SAC, MWC)
Identifying caps or small caps
■Format
{:SA:=Correct choice #Correct response feedback ~% Score percentage% Partial point choice #Partial point response feedback ~ * #Feedback other than the displayed choices}
Multiple partial point choices can be provided.
■Specific examples
Ex 4: Short-answer : Ignoring caps or small caps.
Please answer with the 6 letters of the alphabet for the LMS currently used at Chiba University.
{:SA: =moodle #correct ~% 50% noodle #typo. Moodle is correct ~ * #incorrect. Moodle is the correct answer}
Ex 5: Short-answer : Identifying caps or small caps.
Chiba University uses {:SA:=Moodle} as its learning management system (LMS).
Chiba University uses {:SAC:=Moodle} as its learning management system (LMS).(case must match)
Examples 4 and 5 on the screen
■Question format
NUMERICAL (or NM)
■Format
{:NM: = Correct number: tolerance #Correct response feedback #Feedback}
■Explanation of symbols
Symbol
Explanation
Correct number: tolerance
The method of expressing tolerance. For example, for "= 73:2", the correct answer would be "73 ± 2", and any values from 71 to 75 will be counted as correct.
■Specific examples
Ex 6
The measured values on two sides of a rectangular board were 16.3 ± 0.1 cm and 4.5 ± 0.1 cm. Therefore, the area of the board is {:NM:=73:2#16.2×4.4 = 7.1×10, 16.4×4.6=7.5×10, so 73 ± 2 is considered correct. } cm2.
Example 6 on the screen
There are three types of questions that can be answered by drag & drop: "Drag and drop into text," "Drag and drop onto image," and "Drag and drop markers."
Name
Explanation
Example
Drag and drop into
Text
Questions that are answered by arranging words and phrases into blanks by drag and drop.
Drag and drop onto
Images
Questions that are answered by dragging and dropping images or text into the appropriate blank spaces of a background image.
Drag and drop into
Markers
Questions that are answered by drag and drop texts into the appropriate area of a background image.
Not into the blanks, but the areas set on the background image.
Drag and drop into text
① Click “+ New Question” from the “Add” dropdown menu.
② Select " Drag and drop into text" choose a question type to add, then click “Add”.
③ Enter the question title in “Question name”. (The question name is not visible to students, so we recommend using a title that helps you manage the question easily.)
④ Create options for the fill-in-the-blank sections of the “Question text” .
The answer to [[1]] in the above question text corresponds to “choice[[1]]” and each number corresponds to a specific option.
You can also create more options than there are fill-in-the-blank sections to create incorrect answers. In that case, enter the answers in the spaces not corresponding to “choice[[ ]]”.
⑤ Set the grading for the question under “Default mark”.
⑥ Create options for the fill-in-the-blank sections of the question. The answer to [[1]] in the above question text corresponds to “choice[[1]]” and each number corresponds to a specific option.
You can also create more options than there are fill-in-the-blank sections to create incorrect answers. In that case, enter the answers in the spaces not corresponding to “choice[[ ]]”.
Checking “Shuffle” will randomly shuffle the options each time they are displayed.
Using “Groups” to classify options into different groups allows you to divide the range of fill-in sections to which the options apply.
Checking “Unlimited” allows the option to be used as many times as desired when answering.
⑦ After creating the question, click “Save changes”.
Drag and drop onto images
① Click “+ New Question” from the “Add” dropdown menu.
② Select " Drag and drop onto images" choose a question type to add, then click “Add”.
③ Enter the question title in “Question name”. (The question name is not visible to students, so we recommend using a title that helps you manage the question easily.)
④ Create for the question content in “Question text”.
⑤ Set the grading for the question under “Default mark”.
⑥ Upload the image file to be used as the background image.
When you upload an image, a preview of the image will be displayed.
⑦ Set the image and text to be used for the answer.
In “Type”, set a “Draggable image” or “Draggable text”.
(A) If you select draggable image, upload the image file.
(B) If you select draggable text, enter the text.
As with drag-and-drop into text, you can use "Group" to classify choices into different groups and separate the range of fill-in-the-blank fields to which the choices apply.
If you check "Unlimited", students will be able to use the choice as many times as they want when responding.
⑧ Decide on which part of the background image the draggable item should be dropped to be counted as a correct answer. Select an item from "Draggable items".
⑨ Specify the location to drag and drop the item.
To specify the location, you need to enter the coordinate value, but you can also drag and drop the item in "Preview" used when uploading the background image earlier to determine the location (coordinate values are set automatically in conjunction).
⑩ Finally click "Save changes" to save the created question.
Drag and drop markers
① Click “+ New Question” from the “Add” dropdown menu.
② Select " Drag and drop markers " choose a question type to add, then click “Add”.
③ Enter the question title in “Question name”. (The question name is not visible to students, so we recommend using a title that helps you manage the question easily.)
④ Create for the question content in “Question text”.
⑤ Set the grading for the question under “Default mark”.
⑥ Upload the image file to be used as the background image.
When you upload an image, a preview of the image will be displayed.
⑦ Enter the name of the markers to be dragged and dropped when responding.
If you set the number of markers to "Infinite", they can be used as many times as desired, but if set to an option other than unlimited, the markers can be used only the specified number of times.
⑧ Determine whether dropping a marker counts as a correct answer.
Select the item to be marked as correct from the “Markers”.
⑨ Select the area considered correct for each item from “Shape”. Then specify it by entering values in “Coordinates”. While checking the background image in "Preview", set the area to be counted as a correct answer when the marker is dropped.
How to specify the area
- When coordinates are expressed as "x, y", x indicates a horizontal position and y indicates a vertical position.
- The area can be specified as three types: "Circle", "Rectangle", and "Polygon". Each of these are set as follows.
Circle
x,y;r
x and y are the coordinates of the center of the circle, and r is the radius.
Rectangle
x,y;w,h
x and y are the coordinates of the upper left corner of the rectangle, and w and h are the width and height of the rectangle, respectively.
Polygon
x1,y1;x2,y2;x3,y3; ... Repeat for the number of points.
x1 and y1 represent the coordinates of the first point, and in the case of a polygon, it is necessary to specify three or more points.
⑩ Finally, click "Save changes" to save the created Questions.
① Click “+ New Question” from the “Add” dropdown menu.
② Select " Essay question " choose a question type to add, then click “Add”.
③ Enter the question title in “Question name” and the question content in “Question text”.
(The question name is not visible to students, so we recommend using a title that helps you manage the question easily.)
④ Set the grading for the question under “Default mark”.
⑤ In “Answer format" you set the box where students will enter their answers.
- HTML Editor
You can decorate text. Also, the number of words entered is displayed at the bottom right of the input field.
- HTML Editor (+File Picker)
In addition to text decoration, you can insert images and videos into the input field.
The number of words entered is also displayed in the bottom right of the input field.
- Plain text
No text decoration, just text input.
- Plain text, monospaced fonts.
Character decoration is not possible, only character input. Characters are input with a constant width.
- No inline text
The input field will disappear. *Please make sure to allow file attachments
⑥ If you want to allow file attachments, select the number of files you want to allow in "Allow attachments".
!!Notes on setting "Minimum word limit" and "Maximum word limit"!!
The word count only works with the “English word count” and does not count with the “Japanese character count”. (Because the counting method counts word counts with spaces and line breaks.)
⑦ Finally, click “Save Changes” to save the created question.
Moodle offers several ways to create quiz questions in bulk. This section explains how to use the "GIFT format" used for importing quiz questions from text files.
GIFT format is used as follows (the method for creating individual questions will be explained later).
● Answers are represented by enclosing them with "{}" as in "{answer}".
● Insert "#" after each answer and then add a comment to provide feedback on the answer.
● Words between "::" such as in ":: Question name ::" represent the name of the question.
● Lines starting with "//" are treated as comments.
● When inputting multiple questions, separate each question with a blank line.
When using GIFT format, it is necessary to save the character code of the text file as UTF-81). The differences between question types when creating questions in GIFT format are summarized below.
Multiple-choice questions
Input the correct answer after "=" and other choices after "~".
Combination questions
Input choices with "=" and the match to the choices with "->".
Numerical questions
Input the correct answer after "#".
True/false questions
If correct, enter "T", and if incorrect, enter "F".
Short-answer questions
Input the correct answers after "=". It is necessary to list all correct answers.
essay question
The correct answer is written following the “=”. Note that all correct answers must be listed.
Please refer to "GIFT format example" below for specific details on creating questions.
GIFT format example
<Notes on handling mathematical formulas>
Due to the processing order of PHP and LaTeX, when using the above symbols in LaTeX format, they should be preceded by a "\ (backslash)".
The "\ (backslash)" may be displayed as a "\ (yen mark)" depending on your PC settings, in which case you can use the "\ (yen mark)" as it is.
An example on creating questions in GIFT format is shown below.
① Open the block drawer on the right side of the course screen, click “>” to the left of “Question bank” in the ‘Administration’ block, and select “Import”.
② Each procedure is explained below.
A. Select "Gift format".
B. Upload the question file created in Gift format to Moodle.
C. Import the file selected in A and B.