]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17264 Adding control of usecase for the shortanswer type using SHORTANSER_C or
authorpichetp <pichetp>
Mon, 24 Nov 2008 04:57:07 +0000 (04:57 +0000)
committerpichetp <pichetp>
Mon, 24 Nov 2008 04:57:07 +0000 (04:57 +0000)
 SAC or MWC

lang/en_utf8/help/qtype_multianswer/multianswer.html

index 596a3750ad7950ce8fc3a62475dc700eddd0b0de..8e0005fe7383259772933d240398b1425b0e5d40 100644 (file)
@@ -6,7 +6,8 @@ popular format known as the Cloze format.</p>
 <p>Questions consist of a passage of text (in Moodle format) that has various sub-questions 
 embedded within it, including</p>
 <ul>
-  <li>short answers&nbsp;(SHORTANSWER or SA or MW),</li>
+  <li>short answers&nbsp;(SHORTANSWER or SA or MW),case is unimportant,</li>
+  <li>short answers&nbsp;(SHORTANSWER_C or SAC or MWC),case must match,</li>
   <li>numerical answers (NUMERICAL or NM),</li>
   <li>multiple choice (MULTICHOICE or MC), represented as a dropdown menu in-line in the text</li>
   <li>multiple choice (MULTICHOICE_V or MCV), represented a vertical column of radio buttons, or</li>
@@ -20,18 +21,19 @@ importing them from external files.</p>
 
 <p>Note that for multiple choice vertical or horizontal rendering there is no automatic numbering. It can added at each answer as shown here.</p>
 
-<p><textarea rows="25" wrap="virtual" cols="60">This question consists of some text with an answer embedded right here {1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and right after that you will have to deal with this short answer {1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and finally we have a floating point number {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}.&lt;br /&gt;
-&lt;br /&gt;
-The  multichoice question can also be shown in the vertical display of the standard moodle multiple choice.&lt;br /&gt;
-&lt;br /&gt;
-{2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer}&lt;br /&gt;
-Or in an horizontal display that is included here in a table&lt;br /&gt;
-&lt;br /&gt; 
-{2:MCH:a. Wrong answer#Feedback for this wrong answer~b. Another wrong answer#Feedback for the other wrong answer~=c. Correct answer#Feedback for correct answer~%50%d. Answer that gives half the credit#Feedback for half credit answer}&lt;br /&gt;
-Note that addresses like www.moodle.org and smileys :-) all work as normal:&lt;br /&gt;
- a) How good is this? {:MULTICHOICE:=Yes#Correct~No#We have a different opinion}&lt;br /&gt;
- b) What grade would you give it? {3:NUMERICAL:=3:2}&lt;br /&gt;
-&lt;br /&gt;
+<p><textarea rows="25" wrap="virtual" cols="60">This question consists of some text with an answer embedded right here {1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and right after that you will have to deal with this short answer {1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and finally we have a floating point number {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}.<br />
+<br />
+The  multichoice question can also be shown in the vertical display of the standard moodle multiple choice.<br />
+<br />
+{2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer}<br />
+Or in an horizontal display that is included here in a table<br />
+<br /> 
+{2:MCH:a. Wrong answer#Feedback for this wrong answer~b. Another wrong answer#Feedback for the other wrong answer~=c. Correct answer#Feedback for correct answer~%50%d. Answer that gives half the credit#Feedback for half credit answer}<br />
+A shortanswer question where case must match. Write moodle in upper case letters {1:SHORTANSWER_C:moodle#Feedback for moodle in lower case ~=MOODLE#Feedback for MOODLE in upper case ~%50%Moodle#Feedback for only first letter in upper case}<br />
+Note that addresses like www.moodle.org and smileys :-) all work as normal:<br />
+ a) How good is this? {:MULTICHOICE:=Yes#Correct~No#We have a different opinion}<br />
+ b) What grade would you give it? {3:NUMERICAL:=3:2}<br />
+<br />
 Good luck!
 </textarea>
 </p>
@@ -144,6 +146,8 @@ Good luck!
             </td>
           </tr>
         </table>
+        <br />
+        A shortanswer question where case must match. Write moodle in upper case letters <input    name="resp3435_6"  type="text" value="" size="6" /> <br />
       <br />Note that addresses like <a href="http://www.moodle.org" target="_blank">www.moodle.org</a> and smileys <img alt="smile" width="15" height="15" src="http://132.208.141.198/moodle_head/pix/s/smiley.gif" /> all work as normal:<br /> a) How good is this? <span><select name="resp3796_6"><option selected></option><option value="8968">Yes</option><option value="8969">No</option></select></span></label><label><br /> b) What grade would you give it? <input name="resp3796_7" size="1" > </label><br /><br />Good luck!
     </div>
     <div class="grading">