Skip to content

Commit

Permalink
Merge pull request #413 from uofajillian/patch-1
Browse files Browse the repository at this point in the history
Update multiple_choice.rst
  • Loading branch information
Alison Hodges committed Jul 7, 2015
2 parents 4b80443 + 64d2f25 commit 7a5a2aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Sylvia Pearce <spearce@edx.org>
Carol Tong <ctong@edx.org>
Sarina Canelake <sarina@edx.org>
TJ Keemon <keems21@gmail.com>
Jillian Vogel <jillian.vogel@adelaide.edu.au>
27 changes: 7 additions & 20 deletions en_us/shared/exercises_tools/multiple_choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ problem, follow these steps.
.. code-block:: xml
<problem>
<fieldset>
<legend>Lateral inhibition, as was first discovered in the horseshoe crab...</legend>
<p>Lateral inhibition, as was first discovered in the horseshoe crab...</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice" label="Lateral inhibition, as was first discovered
in the horseshoe crab">
Expand All @@ -183,7 +182,6 @@ problem, follow these steps.
that allows it to balance in turbulent water.</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
Expand Down Expand Up @@ -392,7 +390,7 @@ Template
.. code-block:: xml
<problem>
<legend>Question text</legend>
<p>Question text</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice" label="label text">
<choice correct="false" name="a">
Expand All @@ -409,7 +407,6 @@ Template
</choice>
</choicegroup>
</multiplechoiceresponse>
<demandhint>
<hint>Hint 1</hint>
<hint>Hint 2</hint>
Expand Down Expand Up @@ -617,8 +614,7 @@ shuffling is enabled.
.. code-block:: xml
<problem>
<fieldset>
<legend>What Apple device competed with the portable CD player?</legend>
<p>What Apple device competed with the portable CD player?</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice">
<choice correct="false">The iPad</choice>
Expand All @@ -627,7 +623,6 @@ shuffling is enabled.
<choice correct="false">The vegetable peeler</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
</problem>
Expand All @@ -637,8 +632,7 @@ To add shuffling to this problem, add ``shuffle="true"`` to the
.. code-block:: xml
<problem>
<fieldset>
<legend>What Apple device competed with the portable CD player?</legend>
<p>What Apple device competed with the portable CD player?</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice" shuffle="true">
<choice correct="false">The iPad</choice>
Expand All @@ -647,7 +641,6 @@ To add shuffling to this problem, add ``shuffle="true"`` to the
<choice correct="false">The vegetable peeler</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
</problem>
Expand All @@ -657,8 +650,7 @@ To fix an answer's location in the list, add ``fixed="true"`` to the
.. code-block:: xml
<problem>
<fieldset>
<legend>What Apple device competed with the portable CD player?</legend>
<p>What Apple device competed with the portable CD player?</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice" shuffle="true">
<choice correct="false">The iPad</choice>
Expand All @@ -668,7 +660,6 @@ To fix an answer's location in the list, add ``fixed="true"`` to the
<choice correct="false" fixed="true">All of the above</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
</problem>
.. _Targeted Feedback in a Multiple Choice Problem:
Expand Down Expand Up @@ -709,16 +700,14 @@ For example, the XML for the multiple choice problem follows.
.. code-block:: xml
<problem>
<fieldset>
<legend>What Apple device competed with the portable CD player?</legend>
<p>What Apple device competed with the portable CD player?</p>
<multiplechoiceresponse targeted-feedback="">
<choicegroup type="MultipleChoice">
<choice correct="false" explanation-id="feedback1">The iPad</choice>
<choice correct="false" explanation-id="feedback2">Napster</choice>
<choice correct="true" explanation-id="correct">The iPod</choice>
<choice correct="false" explanation-id="feedback3">The vegetable peeler</choice>
</choicegroup>
</fieldset>
</multiplechoiceresponse>
...
Expand Down Expand Up @@ -805,8 +794,7 @@ explanation ID.
.. code-block:: xml
<problem>
<fieldset>
<legend>What Apple devices let you carry your digital music library in your pocket?</legend>
<p>What Apple devices let you carry your digital music library in your pocket?</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice" answer-pool="4">
<choice correct="false">The iPad</choice>
Expand All @@ -817,7 +805,6 @@ explanation ID.
<choice correct="true" explanation-id="iPhone">The iPhone</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
<solutionset>
<solution explanation-id="iPod">
Expand Down

0 comments on commit 7a5a2aa

Please sign in to comment.