Commit becd4c1b by Adam Palay

update latex problem data (TNL-264)

parent 1abf064d
......@@ -74,7 +74,7 @@ metadata:
Include image by using the edXxml macro:
\edXxml{<img src="http://autoid.mit.edu/images/mit_dome.jpg"/>}
\edXxml{<img src="https://courses.edx.org/static/images/mit_dome.jpg"/>}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Example show/hide explanation}
......@@ -89,7 +89,7 @@ metadata:
data: |
<?xml version="1.0"?>
<problem>
<problem showanswer="closed" rerandomize="never" weight="10" display_name="lec1_Q2">
<text>
<p>
<h4>Example "option" problem</h4>
......@@ -98,7 +98,7 @@ data: |
Where is the earth? </p>
<p>
<optionresponse>
<optioninput options="('up','down')" correct="down" label="Where is the earth?"/>
<optioninput options="('up','down')" correct="down"/>
</optionresponse>
</p>
<p>
......@@ -108,7 +108,7 @@ data: |
What is Einstein's equation for the energy equivalent of a mass [mathjaxinline]m[/mathjaxinline]? </p>
<p>
<symbolicresponse expect="m*c^2">
<textline size="90" correct_answer="m*c^2" math="1" label="Enter Einstein's equation"/>
<textline size="90" correct_answer="m*c^2" math="1"/>
</symbolicresponse>
</p>
<p>
......@@ -119,8 +119,9 @@ data: |
<p>
<p style="display:inline">Energy saved = </p>
<numericalresponse inline="1" answer="0.52">
<responseparam description="Numerical Tolerance" type="tolerance" default="0.02" name="tol"/>
<formulaequationinput label="Enter the equation"/>
<textline inline="1">
<responseparam type="tolerance" default="0.02"/>
</textline>
</numericalresponse>
<p style="display:inline">&#xA0;EJ/year</p>
</p>
......@@ -130,22 +131,22 @@ data: |
<p>
What color is a banana? </p>
<p>
<choiceresponse>
<checkboxgroup label="What color is a banana?">
<multiplechoiceresponse>
<choicegroup direction="vertical">
<choice correct="false" name="1">
<text>Red</text>
<text> Red</text>
</choice>
<choice correct="false" name="2">
<text>Green</text>
<text> Green</text>
</choice>
<choice correct="true" name="3">
<text>Yellow</text>
<text> Yellow</text>
</choice>
<choice correct="false" name="4">
<text>Blue</text>
<text> Blue</text>
</choice>
</checkboxgroup>
</choiceresponse>
</choicegroup>
</multiplechoiceresponse>
</p>
<p>
<h4>Example "string response" problem</h4>
......@@ -154,11 +155,11 @@ data: |
In what U.S. state is Detroit located? </p>
<p>
<stringresponse answer="Michigan">
<textline label="What state contains Michigan?"/>
<textline/>
</stringresponse>
</p>
<p>
An explanation of the answer can be provided by using the edXsolution macro: </p>
An explanation of the answer can be provided by using the edXsolution macro. Click on "Show Answer" to see the solution. </p>
<p>
<solution>
<font color="blue">Answer: </font>
......@@ -179,7 +180,7 @@ data: |
Enter a python list of two numbers which sum to 10, eg [9,1]: </p>
<p>
<customresponse cfn="sumtest" expect="[1,9]">
<textline correct_answer="[1,9]" label="Enter the python list"/>
<textline correct_answer="[1,9]"/>
</customresponse>
</p>
<p>
......@@ -188,7 +189,7 @@ data: |
<p>
Include image by using the edXxml macro: </p>
<p>
<img src="/static/images/mit_dome.jpg"/>
<img src="https://courses.edx.org/static/images/mit_dome.jpg"/>
</p>
<p>
<h4>Example show/hide explanation</h4>
......
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