Commit c16cbb18 by Sarina Canelake

Merge pull request #8516 from edx/markhoeber-doc2017

Update studio templates to remove fieldset and legend tags
parents d6aa1578 238c8152
......@@ -7,7 +7,6 @@ metadata:
When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.
You can use the following example problem as a model.
_____________________________________________________________________________
>>The following languages are in the Indo-European family:<<
[x] Urdu
......@@ -28,8 +27,7 @@ data: |
<p>When you add the component, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problem as a model.</p>
<fieldset>
<legend>The following languages are in the Indo-European family:</legend>
<p>The following languages are in the Indo-European family:</p>
<choiceresponse>
<checkboxgroup direction="vertical">
<choice correct="true" name="urdu">Urdu</choice>
......@@ -39,7 +37,6 @@ data: |
<choice correct="false" name="hungarian">Hungarian</choice>
</checkboxgroup>
</choiceresponse>
</fieldset>
<p><strong>Note</strong>: Make sure you select all of the correct options—there may be more than one!</p>
<solution>
<div class="detailed-solution">
......
......@@ -13,18 +13,19 @@ data: |
<p>
For more information, see
<a href="http://edx.readthedocs.org/projects/edx-partner-course-staff/en/latest/exercises_tools/circuit_schematic_builder.html" target="_blank">
Circuit Schematic Builder Problem</a> in <i>Building and Running an edX Course</i>.</p>
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
Circuit Schematic Builder Problem</a> in <i>Building and Running an edX Course</i>.
</p>
<p>
When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.
</p>
<p>You can use the following example problems as models.</p>
<fieldset>
<legend>Make a voltage divider that splits the provided voltage evenly.</legend>
<schematicresponse>
<center>
<schematic height="500" width="600" parts="g,r" analyses="dc"
initial_value="[[&quot;v&quot;,[168,144,0],{&quot;value&quot;:&quot;dc(1)&quot;,&quot;_json_&quot;:0},[&quot;1&quot;,&quot;0&quot;]],[&quot;r&quot;,[296,120,0],{&quot;r&quot;:&quot;1&quot;,&quot;_json_&quot;:1},[&quot;1&quot;,&quot;output&quot;]],[&quot;L&quot;,[296,168,3],{&quot;label&quot;:&quot;output&quot;,&quot;_json_&quot;:2},[&quot;output&quot;]],[&quot;w&quot;,[296,216,168,216]],[&quot;w&quot;,[168,216,168,192]],[&quot;w&quot;,[168,144,168,120]],[&quot;w&quot;,[168,120,296,120]],[&quot;g&quot;,[168,216,0],{&quot;_json_&quot;:7},[&quot;0&quot;]],[&quot;view&quot;,-67.49999999999994,-78.49999999999994,1.6000000000000003,&quot;50&quot;,&quot;10&quot;,&quot;1G&quot;,null,&quot;100&quot;,&quot;1&quot;,&quot;1000&quot;]]"
/>
</center>
<p>Make a voltage divider that splits the provided voltage evenly.</p>
<schematicresponse>
<center>
<schematic height="500" width="600" parts="g,r" analyses="dc"
initial_value="[[&quot;v&quot;,[168,144,0],{&quot;value&quot;:&quot;dc(1)&quot;,&quot;_json_&quot;:0},[&quot;1&quot;,&quot;0&quot;]],[&quot;r&quot;,[296,120,0],{&quot;r&quot;:&quot;1&quot;,&quot;_json_&quot;:1},[&quot;1&quot;,&quot;output&quot;]],[&quot;L&quot;,[296,168,3],{&quot;label&quot;:&quot;output&quot;,&quot;_json_&quot;:2},[&quot;output&quot;]],[&quot;w&quot;,[296,216,168,216]],[&quot;w&quot;,[168,216,168,192]],[&quot;w&quot;,[168,144,168,120]],[&quot;w&quot;,[168,120,296,120]],[&quot;g&quot;,[168,216,0],{&quot;_json_&quot;:7},[&quot;0&quot;]],[&quot;view&quot;,-67.49999999999994,-78.49999999999994,1.6000000000000003,&quot;50&quot;,&quot;10&quot;,&quot;1G&quot;,null,&quot;100&quot;,&quot;1&quot;,&quot;1000&quot;]]"/>
</center>
<answer type="loncapa/python">
dc_value = "dc analysis not found"
for response in submission[0]:
......@@ -38,9 +39,7 @@ data: |
correct = ['incorrect']
</answer>
</schematicresponse>
</fieldset>
<fieldset>
<legend>Make a high-pass filter.</legend>
<p>Make a high-pass filter.</p>
<schematicresponse>
<center>
<schematic height="500" width="600" parts="g,r,s,c" analyses="ac"
......@@ -62,15 +61,23 @@ data: |
correct = ['incorrect']
</answer>
</schematicresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
<p>You can form a voltage divider that evenly divides the input voltage with two identically valued resistors, with the sampled voltage taken in between the two.</p>
<p><img src="/static/images/voltage_divider.png"/></p>
<p>You can form a simple high-pass filter without any further constraints by simply putting a resistor in series with a capacitor. The actual values of the components do not really matter in this problem.</p>
<p><img src="/static/images/high_pass_filter.png"/></p>
</div>
</solution>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
<p>
You can form a voltage divider that evenly divides the input
voltage with two identically valued resistors, with the sampled
voltage taken in between the two.
</p>
<p><img src="/static/images/voltage_divider.png" alt=""/></p>
<p>
You can form a simple high-pass filter without any further
constraints by simply putting a resistor in series with a
capacitor. The actual values of the components do not really
matter in this problem.
</p>
<p><img src="/static/images/high_pass_filter.png" alt=""/></p>
</div>
</solution>
</problem>
......@@ -45,20 +45,16 @@ data: |
return test_add(10, ans)
</script>
<fieldset>
<legend>Enter two integers that sum to 10.</legend>
<p>Enter two integers that sum to 10.</p>
<customresponse cfn="test_add_to_ten">
<textline size="40" correct_answer="3" label="Integer #1"/><br/>
<textline size="40" correct_answer="7" label="Integer #2"/>
</customresponse>
</fieldset>
<fieldset>
<legend>Enter two integers that sum to 20.</legend>
<p>Enter two integers that sum to 20.</p>
<customresponse cfn="test_add" expect="20">
<textline size="40" correct_answer="11" label="Integer #1"/><br/>
<textline size="40" correct_answer="9" label="Integer #2"/>
</customresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
......@@ -17,8 +17,7 @@ data: |
<p>_____________________________________________________________________________</p>
<customresponse>
<h3>Simple Drag and Drop</h3>
<fieldset>
<legend>Drag each word in the scrollbar to the bucket that matches the number of letters in the word.</legend>
<p>Drag each word in the scrollbar to the bucket that matches the number of letters in the word.</p>
<drag_and_drop_input img="https://studio.edx.org/c4x/edX/DemoX/asset/L9_buckets.png">
<draggable id="1" label="a"/>
<draggable id="2" label="bog"/>
......@@ -32,7 +31,6 @@ data: |
<draggable id="10" label="strop"/>
<draggable id="11" label="few"/>
</drag_and_drop_input>
</fieldset>
<answer type="loncapa/python">
correct_answer = {
'1': [[70, 150], 121],
......@@ -54,8 +52,7 @@ data: |
</customresponse>
<customresponse>
<h3>Drag and Drop with Outline</h3>
<fieldset>
<legend>Label the hydrogen atoms connected with the left carbon atom.</legend>
<p>Label the hydrogen atoms connected with the left carbon atom.</p>
<drag_and_drop_input img="https://studio.edx.org/c4x/edX/DemoX/asset/ethglycol.jpg" target_outline="true" one_per_target="true" no_labels="true" label_bg_color="rgb(222, 139, 238)">
<draggable id="1" label="Hydrogen" />
<draggable id="2" label="Hydrogen" />
......@@ -71,7 +68,6 @@ data: |
<target id="t9_o" x="445" y="162" w="100" h="100"/>
<target id="t10" x="591" y="132" w="70" h="70"/>
</drag_and_drop_input>
</fieldset>
<answer type="loncapa/python">
correct_answer = [{
'draggables': ['1', '2'],
......
......@@ -29,8 +29,7 @@ data: |
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problems as models.</p>
<p>_____________________________________________________________________________</p>
<p>Write an expression for the product of \( R_1\), \( R_2\), and
the inverse of \( R_3\) .</p>
<formularesponse type="ci" samples="R_1,R_2,R_3@1,2,3:3,4,5#10" answer="$VoVi">
......
......@@ -16,17 +16,14 @@ data: |
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problem as a model.</p>
<p>_____________________________________________________________________________</p>
<fieldset>
<legend>What country is home to the Great Pyramid of Giza as well as the cities
of Cairo and Memphis? Click the country on the map below.</legend>
<p>What country is home to the Great Pyramid of Giza as well as the cities
of Cairo and Memphis? Click the country on the map below.</p>
<imageresponse>
<imageinput src="https://studio.edx.org/c4x/edX/DemoX/asset/Africa.png"
width="600" height="638" rectangle="(338,98)-(412,168)" alt="Map of
Africa"/>
</imageresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
......@@ -27,7 +27,6 @@ data: |
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problem as a model.</p>
<p>_____________________________________________________________________________</p>
<script type="loncapa/python">
<![CDATA[
......
......@@ -97,13 +97,11 @@ data: |
Problem Written in LaTeX</a> in <i>Building and Running an edX Course</i>.</p>
<p>You can use the following example problems as models.</p>
<p><strong>Example Option Problem</strong></p>
<fieldset>
<legend>Which of the following countries celebrates its independence on August 15?</legend>
<p>Which of the following countries celebrates its independence on August 15?</p>
<br/>
<optionresponse>
<optioninput options="('India','Spain','China','Bermuda')" correct="India"></optioninput>
</optionresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......@@ -112,8 +110,7 @@ data: |
</solution>
<br/>
<p><strong>Example Multiple Choice Problem</strong></p>
<fieldset>
<legend>Which of the following countries has the largest population?</legend>
<p>Which of the following countries has the largest population?</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice">
<choice correct="false" name="brazil">Brazil</choice>
......@@ -122,7 +119,6 @@ data: |
<choice correct="false" name="russia">Russia</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......@@ -135,16 +131,13 @@ data: |
</solution>
<br/>
<p><strong>Example Math Expression Problem</strong></p>
<fieldset>
<legend>What is Einstein's equation for the energy equivalent of a mass [mathjaxinline]m[/mathjaxinline]?</legend>
<p>What is Einstein's equation for the energy equivalent of a mass [mathjaxinline]m[/mathjaxinline]?</p>
<symbolicresponse expect="m*c^2">
<textline size="90" correct_answer="m*c^2" math="1"/>
</symbolicresponse>
</fieldset>
<br/>
<p><strong>Example Numerical Problem</strong></p>
<fieldset>
<legend>Estimate the energy savings (in J/y) if all the people ([mathjaxinline]3\times 10^8[/mathjaxinline]) in the U.&#xA0;S. switched from U.&#xA0;S. code to low-flow shower heads.</legend>
<p>Estimate the energy savings (in J/y) if all the people ([mathjaxinline]3\times 10^8[/mathjaxinline]) in the U.&#xA0;S. switched from U.&#xA0;S. code to low-flow shower heads.</p>
<p style="display:inline">Energy saved = </p>
<numericalresponse inline="1" answer="0.52">
<textline inline="1">
......@@ -152,17 +145,14 @@ data: |
</textline>
<p style="display:inline">&#xA0;EJ/year</p>
</numericalresponse>
</fieldset>
<br/>
<p><strong>Example Fill-in-the-Blank Problem</strong></p>
<fieldset>
<legend>What was the first post-secondary school in China to allow both male and female students?</legend>
<p>What was the first post-secondary school in China to allow both male and female students?</p>
<stringresponse answer="Nanjing Higher Normal Institute" type="ci" >
<additional_answer>National Central University</additional_answer>
<additional_answer>Nanjing University</additional_answer>
<textline label="What was the first post-secondary school in China to allow both male and female students?" size="40"/>
</stringresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......@@ -183,20 +173,16 @@ data: |
def test_add_to_ten(expect, ans):
return test_add(10, ans)
</script>
<fieldset>
<legend>Enter two integers that sum to 10.</legend>
<p>Enter two integers that sum to 10.</p>
<customresponse cfn="test_add_to_ten">
<textline size="40" correct_answer="3" label="Integer #1"/><br/>
<textline size="40" correct_answer="7" label="Integer #2"/>
</customresponse>
</fieldset>
<fieldset>
<legend>Enter two integers that sum to 20.</legend>
<p>Enter two integers that sum to 20.</p>
<customresponse cfn="test_add" expect="20">
<textline size="40" correct_answer="11" label="Integer #1"/><br/>
<textline size="40" correct_answer="9" label="Integer #2"/>
</customresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......@@ -207,15 +193,13 @@ data: |
</solution>
<br/>
<p><strong>Example Image Mapped Input Problem</strong></p>
<fieldset>
<legend>What country is home to the Great Pyramid of Giza as well as the cities
of Cairo and Memphis? Click the country on the map below.</legend>
<p>What country is home to the Great Pyramid of Giza as well as the cities
of Cairo and Memphis? Click the country on the map below.</p>
<imageresponse>
<imageinput src="https://studio.edx.org/c4x/edX/DemoX/asset/Africa.png"
width="600" height="638" rectangle="(338,98)-(412,168)" alt="Map of
Africa"/>
</imageresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
......@@ -7,7 +7,6 @@ metadata:
When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.
You can use the following example problem as a model.
_____________________________________________________________________________
>>Which of the following countries has the largest population?<<
( ) Brazil
......@@ -30,8 +29,7 @@ data: |
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problem as a model.</p>
<fieldset>
<legend>Which of the following countries has the largest population?</legend>
<p>Which of the following countries has the largest population?</p>
<multiplechoiceresponse>
<choicegroup type="MultipleChoice">
<choice correct="false" name="brazil">Brazil</choice>
......@@ -40,7 +38,6 @@ data: |
<choice correct="false" name="russia">Russia</choice>
</choicegroup>
</multiplechoiceresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
......@@ -9,7 +9,6 @@ metadata:
When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.
You can use the following example problems as models.
_____________________________________________________________________________
>>How many miles away from Earth is the sun? Use scientific notation to answer.<<
......@@ -42,21 +41,15 @@ data: |
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problems as models.</p>
<p>_____________________________________________________________________________</p>
<fieldset>
<legend>How many miles away from Earth is the sun? Use scientific notation to answer.</legend>
<p>How many miles away from Earth is the sun? Use scientific notation to answer.</p>
<numericalresponse answer="9.3*10^7">
<formulaequationinput label="How many million miles are between Earth and the sun? Use scientific notation to answer." />
</numericalresponse>
</fieldset>
<fieldset>
<legend>The square of what number is -100?</legend>
<p>The square of what number is -100?</p>
<numericalresponse answer="10*i">
<formulaequationinput label="The square of what number is -100?" />
</numericalresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
......@@ -8,8 +8,6 @@ metadata:
You can use the following example problem as a model.
_____________________________________________________________________________
>>Which of the following countries celebrates its independence on August 15?<<
[[(India), Spain, China, Bermuda]]
......@@ -23,13 +21,11 @@ data: |
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>You can use the following example problem as a model.</p>
<fieldset>
<legend>Which of the following countries celebrates its independence on August 15?</legend>
<p>Which of the following countries celebrates its independence on August 15?</p>
<br/>
<optionresponse>
<optioninput options="('India','Spain','China','Bermuda')" correct="India"></optioninput>
</optionresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
......@@ -7,7 +7,6 @@ metadata:
When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.
You can use the following example problem as a model.
_____________________________________________________________________________
>>What was the first post-secondary school in China to allow both male and female students?<<
......@@ -29,14 +28,12 @@ data: |
<p>When you add the problem, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p> You can use the following example problem as a model.</p>
<fieldset>
<legend>What was the first post-secondary school in China to allow both male and female students?</legend>
<p>What was the first post-secondary school in China to allow both male and female students?</p>
<stringresponse answer="Nanjing Higher Normal Institute" type="ci" >
<additional_answer>National Central University</additional_answer>
<additional_answer>Nanjing University</additional_answer>
<textline label="What was the first post-secondary school in China to allow both male and female students?" size="40"/>
</stringresponse>
</fieldset>
<solution>
<div class="detailed-solution">
<p>Explanation</p>
......
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