Difference between revisions of "Short-Answer question type"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Short-Answer question type.

(edit intro, add section to refer reader to Lesson)
(formatting, headings)
Line 1: Line 1:
 
{{Questions}}
 
{{Questions}}
In a short answer question, the student types in a word or phrase in response to a question (that may include a image). Answers may or may not be case sensitive. The Quiz and Lesson Modules both have short answer question types.  The analysis of the question given below works for both Quiz and Lesson Modules.  However there is another analysis type available for Lesson not available in a Quiz.
+
In a short answer question, the student types in a word or phrase in response to a question (that may include a image). Answers may or may not be case sensitive. The answer could be a word or a phrase, but it must match one of your acceptable answers exactly. It's a good idea to keep the required answer as short as possible to avoid missing a correct answer that's phrased differently.
 +
 
 +
The [[Quiz]] and [[Lesson]] modules both have short answer question types.  The analysis of the question given below works for both modules.  However there is another analysis type available for Lesson which is not available in a Quiz (see note below).
  
 
==Question set-up==
 
==Question set-up==
*Give your question a descriptive name.
+
#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.
+
#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 [[Multiple Choice question type]] for more detail).
+
#Select an image to display if you want to add a picture to the question (see step 3 in [[Multiple Choice question type]] 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?
+
#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".
+
#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.
+
#Create feedback for each acceptable answer.
*Click Save Changes to add the question to the category.
+
#Click Save Changes to add the question to the category.
 +
 
 +
==Wildcard usage==
 +
 
 +
You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use <code>ran*ing</code> 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: <code>\*</code>
  
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: \*
+
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 <code>fuel*oxygen 100%</code>. This would accept ''"fuel oxygen", "fuel, oxygen", "fuel; oxygen", "fuel and oxygen", "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!
  
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:
+
<code>oxygen*fuel</code> 100%
fuel*oxygen 100%
+
<code>*fuel*</code> 50%
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)
 
(the order of the answers is important since it stops checking with the first alternative that is satisfied)
*oxygen* 50%
+
<code>*oxygen*</code> 50%
*air* 40%  maybe etc
+
<code>*air*</code> 40%  maybe etc
  
Without wildcards the answers are compared exactly, so be careful with your spelling!
+
Without wildcards, the answers are compared exactly, so be careful with your spelling!
  
'''Feedback for wrong answers'''
+
==Feedback for wrong answers==
  
 
When you wish to have short answer type questions, you naturally have a limited number of variations that would be acceptable. So in case you wish to give a feedback in case of a wrong answer, you must spell out the right answers exactly and then use * as another answer which will have grade as zero and feedback will be the one for wrong answer.
 
When you wish to have short answer type questions, you naturally have a limited number of variations that would be acceptable. So in case you wish to give a feedback in case of a wrong answer, you must spell out the right answers exactly and then use * as another answer which will have grade as zero and feedback will be the one for wrong answer.
Line 30: Line 33:
 
here is an example:
 
here is an example:
  
ques: what is a rabbit?
+
What is a rabbit?
  
 
right answers
 
right answers
Line 52: Line 55:
 
Remember: you cannot do negative marking in this type and ANYTHING other than your right answer will be treated as option 4 due to the wildcard and given that feedback and zero marks.
 
Remember: you cannot do negative marking in this type and ANYTHING other than your right answer will be treated as option 4 due to the wildcard and given that feedback and zero marks.
  
 
+
==Short answer questions tip==
 
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.
 
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.
  
Line 59: Line 62:
 
Starting with Moodle 1.6 in the Lesson module, there are two different student answer analysis systems available for the Short Answer type of question: the ''simple system ''is used by default.  The second type only available in Lesson Module is called "Regular Expressions".  See [[Short answer analysis]] for a description of the new type, with examples.
 
Starting with Moodle 1.6 in the Lesson module, there are two different student answer analysis systems available for the Short Answer type of question: the ''simple system ''is used by default.  The second type only available in Lesson Module is called "Regular Expressions".  See [[Short answer analysis]] for a description of the new type, with examples.
  
[[Category:Teacher]]
 
 
[[Category:Question]]
 
[[Category:Question]]
[[Category:Quiz]]
 

Revision as of 12:58, 21 February 2007


In a short answer question, the student types in a word or phrase in response to a question (that may include a image). Answers may or may not be case sensitive. The answer could be a word or a phrase, but it must match one of your acceptable answers exactly. It's a good idea to keep the required answer as short as possible to avoid missing a correct answer that's phrased differently.

The Quiz and Lesson modules both have short answer question types. The analysis of the question given below works for both modules. However there is another analysis type available for Lesson which is not available in a Quiz (see note below).

Question set-up

  1. Give your question a descriptive name.
  2. Create the question stem. If you want students to fill in a blank, use the underscore to indicate where the blank is.
  3. Select an image to display if you want to add a picture to the question (see step 3 in Multiple Choice question type for more detail).
  4. Choose whether capitalization is important. Case sensitivity can be tricky. Will you accept george washingtion as well as George Washington as an answer?
  5. 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".
  6. Create feedback for each acceptable answer.
  7. Click Save Changes to add the question to the category.

Wildcard usage

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:
\*
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
fuel*oxygen 100%
. This would accept "fuel oxygen", "fuel, oxygen", "fuel; oxygen", "fuel and oxygen", "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!

Feedback for wrong answers

When you wish to have short answer type questions, you naturally have a limited number of variations that would be acceptable. So in case you wish to give a feedback in case of a wrong answer, you must spell out the right answers exactly and then use * as another answer which will have grade as zero and feedback will be the one for wrong answer. Effectively, ANYTHING other than the specific answers mentioned by you will be treated as this option due to wildcard and will be deemed wrong; it'll give 0 marks and show the feedback for a wrong answer. here is an example:

What is a rabbit?

right answers

answer1: animal feedback: right grade: 100%

answer2: mammal feedback: right grade: 100%

answer3: vertebrate feedback: right grade: 100%

answer4: * feedback: ouch! that was wrong grade: none

Remember: you cannot do negative marking in this type and ANYTHING other than your right answer will be treated as option 4 due to the wildcard and given that feedback and zero marks.

Short answer questions tip

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.

Lesson module note

Template:Moodle 1.6 Starting with Moodle 1.6 in the Lesson module, there are two different student answer analysis systems available for the Short Answer type of question: the simple system is used by default. The second type only available in Lesson Module is called "Regular Expressions". See Short answer analysis for a description of the new type, with examples.