Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Question types.

Question types: Difference between revisions

From MoodleDocs
(content moved to Multiple Choice question type)
(Added see also * Random question type)
 
(82 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{Questions}}
{{Questions}}You may add a variety of different types of questions in the Quiz and Lesson modules.  This page is about [[Quiz module]] question types; some will be similar  to [[Lesson questions]] types, which are fewer in number and function differently. The standard quiz question types are listed below with brief descriptions. '''Please use the links on the right side of this page to find more detailed information about standard questions types.'''


You may add a variety of different types of questions in the Quiz module. Questions in a lesson behave in a similar manner but there are not as many types.
==Changing the order of the question types==
The administrator can specify the order the question types appear in the question chooser so that teachers are presented with the most common ones at the top. This is done from ''Site administration > Plugins > Question types > Manage question types.'' The administrator uses the arrows to reorder the question types.


==Short answer==
By default, in new installations of Moodle, the most common question types will appear first:


In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case.  
[[File:newquestionchooser.png|thumb|500px|center|Default order in new installs]]


To create a short answer question:
==Standard question types==
#Give your question a descriptive name
#Create the question stem. If you want students to fill in a blank, use the underscore to indicate where the blank is.
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).
#Choose whether capitalization is important. Case sensitivity can be tricky. Will you accept george washingtion as well as George Washington as an answer?
#Next, fill in the answers you will accept. You can give each answer a percentage of the grade as well. You could give common misspellings partial credit with this option. If the "Case sensitive" option is selected, then you can have different scores for "Word" or "word".
#Create feedback for each acceptable answer.
#Click Save Changes to add the question to the category


You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use ran*ing to match any word or phrase starting with "ran" and ending with "ing". If you really do want to match an asterisk then use a backslash like this: \*
=== Calculated ===
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken. [[Calculated_question_type|More on the Calculated question type]]


If you want one question with the two answers fuel and oxygen, you ought to be able to limit the number of variants  by writing:
===Calculated multi-choice===
fuel*oxygen 100%
Calculated multichoice questions are like multichoice questions with the additonal property that the elements to select can include formula results from numeric values that are selected randomly from a set when the quiz is taken. They use the same wildcards than Calculated questions and their wildcards can be shared with other Calculated multichoice or regular Calculated questions.
would accept "fuel oxygen" "fuel, oxygen" "fuel; oxygen" "fuel  and oxygen" "fuel  oxygen" {two spaces} "fuel & oxygen" "fuel oxygen" "fuel  und oxygen" "fuel&&oxygen" it would even accept "fuel or oxygen" "fuel but not oxygen" "fuel|oxygen" which might not be so good but you can never be completely safe!
oxygen*fuel 100%
*fuel* 50%
(the order of the answers is important since it stops checking with the first alternative that is satisfied)
*oxygen* 50%
*air* 40%  maybe etc


Without wildcards the answers are compared exactly, so be careful with your spelling!
The main difference is that the formula is included in the answer choice as {=...} i.e if you calculate the surface of a rectangle {={l}*{w}}.


You may like to prototype your short answer questions to catch common acceptable answers you hadn’t thought of. Start out by creating a few acceptable answers, then include the question in a quiz for no points. Be sure to tell students you are testing a new question. Once the quiz is over, review students’ answers and add their acceptable answers to the list.
[https://docs.moodle.org/34/en/Calculated_multichoice_question_type More on the Calculated Multi-Choice question type.]


{{Moodle 1.6}}
===Calculated simple===
Simple calculated questions offer a way to create individual numerical questions whose response is the result of a numerical formula which contain variable numerical values by the use of wildcards (i.e {x} , {y}) that are substituted with random values when the quiz is taken.


'''Starting with Moodle 1.6''', there are two different ''student answer'' analysis systems available for the Short Answer type of question: the '''simple system '''is used by default; the '''Regular Expressions system''' is used if the "Use Regular Expressions" option box has been checked on the Edit Question Page screen. See [[Short answer analysis]] for a description of the new type, with examples.
The simple calculated questions offers the most used features of the calculated question with a much simpler creation interface. [https://docs.moodle.org/34/en/Simple_calculated_question_type More on the Simple Calculated question type.]
===Drag and drop into text===
Students select missing words or phrases and add them to text by dragging boxes to the correct location. Items may be grouped and used more than once. [[Drag and drop into text question type| More on the Drag and drop into text question type.]]
===Drag and drop markers===
Students drop markers onto a selected area on a background image.Unlike the Drag and drop onto image question type, there are no predefined areas on the underlying image that are visible to the student. [[Drag and drop markers question type| More on the Drag and drop marker question type]].


==Numerical==
===Drag and drop onto image===
Students make selections by dragging text, images or both to predefined boxes on a background image. Items may be grouped. [[Drag and drop onto image question type|More on the Drag and drop onto image question type]].


From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set.  
=== Description ===
This question type is not actually a question. It just prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a subsequent group of questions, for example. [[Description_question_type|More on the Description question type]]


For example, if the answer is 30 with an accepted error of 5, then any number between 25 and 35 will be accepted as correct.
=== Essay ===
This allows students to write at length on a particular subject and must be manually graded.


Numerical questions can also have case-insensitive non-numerical answers. This is useful whenever the answer for a numerical question is something like N/A, +inf, -inf, NaN etc.
It is possible for a teacher to create a template to scaffold the student's answer in order to give them extra support. The template is then reproduced in the text editor when the student starts to answer the question. See  Youtube video [http://youtu.be/BAZa66WvyWQ Essay scaffold with the Moodle quiz] It is also possible to include grading information for teachers marking the essay to refer to as they assess the essays,


{{Moodle 1.7}}This has changed in Moodle 1.7. Text answers are no longer allowed. that is what short answer is for.
{|
| [[File:responsetemplategraderinfo.png|thumb|400px|Response template and grader info set up]]
| [[File:quizessaytemplate.png|thumb|400px|What the student sees]]
|[[File:teacherviewessayq.png|thumb|400px|What the teacher sees]]
|
|}


What is new in 1.7 is that you can have different answers with different levels of accuracy. That lets you as questions like: "What is a root of x^2 - 3x + 2?" or awards different levels of credit depending on how accurate the student was.
=== Matching ===
A list of sub-questions is provided, along with a list of answers. The respondent must "match" the correct answers with each question. [[Matching_question_type|More on the Matching question type]]


Figure 5-8. Numerical Question
=== Embedded Answers ([http://en.wikipedia.org/wiki/Cloze_test Cloze Test] / Gap Fill) ===
These very flexible questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers. [[Embedded_Answers_(Cloze)_question_type|More on the Embedded Answers question type]]


To create a numerical question
=== Multiple choice ===
#Give the question a descriptive name (This is only seen in the question list that you see as a teacher when you are putting together a quiz)
With the [[Multiple Choice question type]] you can create single-answer and multiple-answer questions, include pictures, sound or other media in the question and/or answer options (by inserting HTML) and weight individual answers.  
#Type the equation or numerical question for your students to solve
Moodle has a various text filters that allow you to type an equation and have it properly typeset when displayed. The Moodle Algebra filter is very good for writing common matematical expressions in a simple way. More complicated expressions can use the TeX syntax. If they don't work the administrator may have not enabled them.
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).
#Enter the correct answer. 23.4 23,4 and 2.34E+1 would all work. (Prior to Moodle 1.7, you can only add one correct answer in the user interface. If you import the question with a GIFT format file you can specifiy multiple answer(intervals) with accompanying feedback and point-percentage. This is done similar to the CLOZE [[Numerical]] format. There is no units support in the Cloze type.) It is possible, though not simple, to get support for  several answer intervals '''and''' unit support if you create the question in the numerical interface and export it in Moodle XML format. Than you can duplicate the <answer> segment and put in another answer interval and the feedback and grading factor you want for that interval. Than import it again. You will not be able to edit the question in the normal numerical interface though.
#Enter the accepted error, the range above or below the correct answer. For example, if the correct answer is 5, but you will accept 4 or 6 as answers, your accepted error is 1.
#Enter feedback for the question. It is possible to use all kinds of HTML formating for the feedback but it must be written by hand. Unfortunately (in 1.5.3 anyhow) it is right justified and has no identifying formatting.
#Units can be specified and work to a degree. Unfortunately if the student answers with the right number but no unit he can get full points. And if he thinks of another unit and has the right number and no unit, he gets no differentiated feedback, just wrong. You must also give the conversion factor . So if your main answer was '''5500''' with unit '''W''' and you wanted to allow the unit '''kW''' you would have to specify the factor '''0.001'''. If you wanted to allow '''Watt''' you would use the factor '''1'''.
#(Moodle 1.7 only) If you want some feedback shown to wrong answers, type a feedback comment with a blank answer.
#Click Save Changes to add the question to the category
----
Lesson Module said: This type of question requires a number as the answer. In it's simplest form it requires just one answer to be specified. For example "What is 2 plus 2?" with the answer 4 given a forward jump. However, it is better to specify a range because the internal rounding of numerical values can make single numeric comparisons rather hit or miss. Thus, if the question were "What is 10 divided by 3" it would be necessary to give the answer as Minimum:Maximum, that is two values separated by a colon. Thus if 3.33:3.34 is given as the acceptable range for the answer, then the answers 3.33, 3.333, 3.3333... would all be taken as correct answers. "Wrong" answers would include 3.3 (less than the minimum) and 3.4 (greater than the maximum).


More than one correct answer is allowed and the answers can be either single or pair of values. Note that the order in which the answers are tested is Answer 1, Answer 2... so some care needs to taken if the desired response is to appear. For example the question "When was Larkin born?" could have the single value of 1922, the exact answer, and the pair of values 1920:1929, the 20's, as the less exact answer.The order in which these values should be tested is, obviously, 1922 then 1920:1929. The first answer might have the response "That's exactly right" while the other answer's response might be "That's close, you've got the right decade, it is was actually 1922."
=== Short Answer ===
In response to a question (that may include an image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. [[Short-Answer_question_type|More on the Short Answer question type]]


Wrong answers can be given but depending on their actual range, care should be taken to place them after the correct answers. For example in adding the wrong answer 3:4 to the "10 divided by 3" question it needs to come after the correct answer. That is the answers are ordered 3.33:3.34 (the "correct" answer) then 3:4 (the "wrong" answer, but not wildly wrong answer!).
=== Numerical ===
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. [[Numerical_question_type|More on the Numerical question type]]
===Random short-answer matching===
From the student perspective, this looks just like a Matching question. The difference is that the sub-questions are drawn randomly from Short Answer questions in the current category. [[Random_Short-Answer_Matching_question_type|More on the Random Short-Answer Matching question type]]


Unfortunately this question differs from the numerical quiz question and the numerical embedded question (Cloze) in a couple of ways. 3:4 in those questions means "3 plus or minus 4", in other words from -1 to 7. The embedded question doesn't support interval boundaries. The numerical question, if imported in GIFT format, can use "3..4" as the interval from 3 to 4. Another difference is that those questions accept , as decimal in student answers, but the lesson numerical question doesn't.
===Select missing words===
Students select a missing word or phrase from a dropdown menu. Items may be grouped and used more than once. [[Select missing words question type |More on the Select missing words question type]]


==True/false==
=== True/False ===
 
In response to a question (that may include an image), the respondent selects from two options: True or False. [[True/False_question_type|More on the True/False question type]]
In response to a question (that may include an image), the respondent selects from two options: True or False.  
 
If feedback is enabled, then the appropriate feedback message is shown to the respondent after answering the quiz. For example, if the correct answer is "False", but they answer "True" (getting it wrong) then the "True" feedback is shown.
 
==Matching==
Matching questions consist of a list of names or statements which must be correctly matched against another list of names or statements. For example "Match the Capital with the Country" with the two lists "Canada, Italy, Japan" and "Ottawa, Rome, Tokyo". There is one correct answer. Each match is equally weighted to contribute towards the grade for the total question.
 
It is possible to have repeated entries in one of the lists but care should be taken to make the repeats identical.
*For example "Identify the type of these creatures" with the lists "Ant, Cow, Dog, Sparrow" and "Insect, Mammal, Mammal, Bird".
Unlike the ''Multichoice question'' where the choices are shown in a random order, the first list of items in a ''Matching question'' is not shuffled but shown in the same order as entered. This allows for "Ordered" questions to be constructed. Consider the question " Put the following into the order they were born, the earliest first" with the lists "1., 2., 3., 4." and "Longfellow, Lawrence, Lowell, Larkin". The second list is shuffed before being used in the question, of course.
 
Matching questions do not support feedback.
===Versions===
==== Moodle 1.5 ====  {{Moodle 1.5}}
When creating this type of question the items for the first list go into the Answer boxes and items for the second list go into the Response boxes. Once created a more sensible labelling scheme is shown. When the student successfully matches the items the jump on the first answer is used. An unsuccessful answer jumps to the page on the second answer. The question does not support custom responses, the student is told how many matches are correct or if all the matches are correct.
==== Moodle 1.6 ====  {{Moodle 1.6}}
When the student successfully matches the items, the '''''Correct answer jump''''' is used. An unsuccessful answer jumps to '''''Wrong answer jump'''''. The question supports only 2 response (= feedback) messages: the '''''Correct response''''' message is displayed if all matches are correct, and the '''''Wrong response''''' message otherwise.
 
==== Moodle 1.7 ====  {{Moodle 1.7}}
In Moodle 1.7 there can be more answers than questions, to make it harder for the student if they do not know the right answer. Before, there could only be as many answers as questions.
 
==Tips ==
Match questions look better on screen if you put the longer piece of text in the question and not the match. For example, when vocabulary matching put the single word in the match and the definition sentence in the question. Otherwise the drop down for long questions will be awkward to use and difficult to read.
 
==Embedded answers (Cloze)==
 
[[Cloze|Embedded answers (Cloze)]] questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and [[Numerical]] answers.
 
There is currently no graphical interface to create these questions - you need to specify the question format using the text box or by importing them from external files.
 
==Random short-answer matching==
 
From the student perspective, this looks just like a Matching question. The difference is that the subquestions are drawn randomly from Short Answer questions in the current category.
 
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question.
 
The respondent must select an answer to match each sub-question.
 
Each sub-question is equally weighted to contribute towards the grade for the total question.
 
The questions and answers are randomly drawn from the pool of "Short Answer" questions in the current category. Each attempt on a quiz will have different questions and answers.
 
==Description==
 
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a following group of questions, for example.
 
==Calculated==
 
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken.
 
==Essay==
Short essay questions are meant for short, paragraph or two type of essays one often finds on exams. Thus we did not use the html editor, preferring a simple text field. For longer essays, the assignment module is a better choice.
 
In response to a question (that may include an image) the respondent writes an answer in essay format. Three fields may be edited when creating the essay question: the question title, the body of the question, and feedback that can be displayed at a time chosen by the facilitator.
 
The essay question will not be assigned a grade until it has been reviewed by a teacher or facilitator by using the Manual Grading feature. When manually grading an essay question, the grader will be able to enter a custom comment in response to the respondent's essay and be able to assign a score for the essay.
 
'''Essay questions in a Lesson.'''  To grade lesson essay questions, first click on the name of the lesson in your course page. If there are essay questions to be graded, there will be a link saying "Grade essay questions".  This link will open a screen showing how many ungraded essay questions there are. Ungraded essay questions will be in listed in red. Click the link for the essay you wish to grade.
 
The essay grading screen shows the title of the question, the student's essay response, and a place you can write optional comments and give the essay a score. Click the Submit grade button to record your score and comments.  Graded questions will be displayed in green.  Repeat the process to finish grading. Click the "Email graded essays" link to email your responses to your students.


==Third-party question types==
==Third-party question types==


Besides the question types described above that are part of the core Moodle distribution there are question type plugins contributed by the community.  
Besides the standard question types that are part of the core Moodle distribution, there are a number of [https://moodle.org/plugins/browse.php?list=category&id=29 question type add-ons] in [https://moodle.org/plugins the add-ons database].
===Drag and Drop===


Please see the [[Drag and Drop question tutorial]] for more information.
Some of those add-ons have additional documentation in [[Third-party_question_types|Third-party question types]].


===Molecule design===
==See also==
* [[Random question type]]
* [[Lesson questions]]
* [https://moodle.org/plugins/view.php?plugin=mod_qpractice Question practice] additional activity


The [http://moodle.org/mod/data/view.php?d=13&rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.
===Regular Expression Short Answer===
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an "open" question with a word or a short phrase. However, using so-called '''regular expressions''' gives you access to a more powerful system for analysing the student's answers and thus providing more adapted feedback messages.
The [http://moodle.org/mod/data/view.php?d=13&rid=338 Regular Expression Short Answer question type] is available '''''for Moodle 1.6''''' from the Modules and plugins database.
--[[User:Joseph Rézeau|Joseph Rézeau]] 22:49, 25 May 2006 (WST)
===Rendered Matching===
Need some mention of what this is or will be.--[[User:Dennis Daniels|Dennis Daniels]] 14:09, 6 June 2006 (WST)


[[Category:Quiz]]
[[Category:Quiz]]
[[Category:Teacher]]
[[Category:Teacher]]
[[Category:Lesson]]
[[Category:Lesson]]
[[ca:Tipus_de_preguntes]]
[[es:Tipos de preguntas]]
[[eu:Galdera-motak]]
[[fr:Types de questions]]
[[ja:問題タイプ]]

Latest revision as of 19:56, 11 March 2018


You may add a variety of different types of questions in the Quiz and Lesson modules. This page is about Quiz module question types; some will be similar to Lesson questions types, which are fewer in number and function differently. The standard quiz question types are listed below with brief descriptions. Please use the links on the right side of this page to find more detailed information about standard questions types.

Changing the order of the question types

The administrator can specify the order the question types appear in the question chooser so that teachers are presented with the most common ones at the top. This is done from Site administration > Plugins > Question types > Manage question types. The administrator uses the arrows to reorder the question types.

By default, in new installations of Moodle, the most common question types will appear first:

Default order in new installs

Standard question types

Calculated

Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken. More on the Calculated question type

Calculated multi-choice

Calculated multichoice questions are like multichoice questions with the additonal property that the elements to select can include formula results from numeric values that are selected randomly from a set when the quiz is taken. They use the same wildcards than Calculated questions and their wildcards can be shared with other Calculated multichoice or regular Calculated questions.

The main difference is that the formula is included in the answer choice as {=...} i.e if you calculate the surface of a rectangle {={l}*{w}}.

More on the Calculated Multi-Choice question type.

Calculated simple

Simple calculated questions offer a way to create individual numerical questions whose response is the result of a numerical formula which contain variable numerical values by the use of wildcards (i.e {x} , {y}) that are substituted with random values when the quiz is taken.

The simple calculated questions offers the most used features of the calculated question with a much simpler creation interface. More on the Simple Calculated question type.

Drag and drop into text

Students select missing words or phrases and add them to text by dragging boxes to the correct location. Items may be grouped and used more than once. More on the Drag and drop into text question type.

Drag and drop markers

Students drop markers onto a selected area on a background image.Unlike the Drag and drop onto image question type, there are no predefined areas on the underlying image that are visible to the student. More on the Drag and drop marker question type.

Drag and drop onto image

Students make selections by dragging text, images or both to predefined boxes on a background image. Items may be grouped. More on the Drag and drop onto image question type.

Description

This question type is not actually a question. It just prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a subsequent group of questions, for example. More on the Description question type

Essay

This allows students to write at length on a particular subject and must be manually graded.

It is possible for a teacher to create a template to scaffold the student's answer in order to give them extra support. The template is then reproduced in the text editor when the student starts to answer the question. See Youtube video Essay scaffold with the Moodle quiz It is also possible to include grading information for teachers marking the essay to refer to as they assess the essays,

Response template and grader info set up
What the student sees
What the teacher sees

Matching

A list of sub-questions is provided, along with a list of answers. The respondent must "match" the correct answers with each question. More on the Matching question type

Embedded Answers (Cloze Test / Gap Fill)

These very flexible questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers. More on the Embedded Answers question type

Multiple choice

With the Multiple Choice question type you can create single-answer and multiple-answer questions, include pictures, sound or other media in the question and/or answer options (by inserting HTML) and weight individual answers.

Short Answer

In response to a question (that may include an image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. More on the Short Answer question type

Numerical

From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. More on the Numerical question type

Random short-answer matching

From the student perspective, this looks just like a Matching question. The difference is that the sub-questions are drawn randomly from Short Answer questions in the current category. More on the Random Short-Answer Matching question type

Select missing words

Students select a missing word or phrase from a dropdown menu. Items may be grouped and used more than once. More on the Select missing words question type

True/False

In response to a question (that may include an image), the respondent selects from two options: True or False. More on the True/False question type

Third-party question types

Besides the standard question types that are part of the core Moodle distribution, there are a number of question type add-ons in the add-ons database.

Some of those add-ons have additional documentation in Third-party question types.

See also