Commit 5ef9618f by Sylvia Pearce

Update change log

parent faf35d42
...@@ -11,7 +11,9 @@ April, 2014 ...@@ -11,7 +11,9 @@ April, 2014
:header-rows: 1 :header-rows: 1
* - Date * - Date
- Change - Change
* - 04/26/14
- Updated label information; added XML information to :ref:`Problem with Adaptive Hint`
* - 04/24/14 * - 04/24/14
- Expanded the :ref:`Grades` chapter to include topics on interpreting the grade reports and student progress page. - Expanded the :ref:`Grades` chapter to include topics on interpreting the grade reports and student progress page.
* - * -
......
...@@ -24,9 +24,9 @@ To create the above problem: ...@@ -24,9 +24,9 @@ To create the above problem:
.. code-block:: xml .. code-block:: xml
<problem> <problem>
<text> <text>
<script type="text/python" system_path="python_lib"> <script type="text/python" system_path="python_lib">
def test_str(expect, ans): def test_str(expect, ans):
print expect, ans print expect, ans
ans = ans.strip("'") ans = ans.strip("'")
...@@ -46,17 +46,16 @@ To create the above problem: ...@@ -46,17 +46,16 @@ To create the above problem:
if hint: if hint:
hint = "&lt;font color='blue'&gt;Hint: {0}&lt;/font&gt;".format(hint) hint = "&lt;font color='blue'&gt;Hint: {0}&lt;/font&gt;".format(hint)
new_cmap.set_hint_and_mode(aid,hint,'always') new_cmap.set_hint_and_mode(aid,hint,'always')
</script> </script>
<p> <p>If a bat and a ball cost $1.10 together, and the bat costs $1.00 more than the ball, how much does the ball cost? Enter your answer in cents, and include only the number (that is, do not include a $ or a ¢ sign).</p>
If a bat and a ball cost $1.10 together, and the bat costs $1.00 more than the ball, how much does the ball cost? Enter your answer in cents, and include only the number (that is, do not include a $ or a ¢ sign).</p> <p>
<p> <customresponse cfn="test_str" expect="5">
<customresponse cfn="test_str" expect="5"> <textline correct_answer="5" label="How much does the ball cost?"/>
<textline correct_answer="5" label="How much does the ball cost?"/> <hintgroup hintfn="hint_fn"/>
<hintgroup hintfn="hint_fn"/> </customresponse>
</customresponse> </p>
</p> </text>
</text> </problem>
</problem>
.. _Drag and Drop Problem XML: .. _Drag and Drop Problem XML:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment