Skip to content

Commit ff97d07

Browse files
committed
api questions edits
1 parent bcf39b1 commit ff97d07

6 files changed

Lines changed: 828 additions & 797 deletions

File tree

samplequestions/stackdemo/07_multiple_properties.xml renamed to samplequestions/stackdemo/02_multiple_properties.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@
33
<!-- question: 17337 -->
44
<question type="stack">
55
<name>
6-
<text>Continuous non-differentiable function</text>
6+
<text>Assessing by mathematical properties</text>
77
</name>
88
<questiontext format="html">
9-
<text><![CDATA[<br>
10-
<div class="stack-comment">
11-
<h2>Multiple properties</h2>
12-
<p>In this question STACK establishes multiple separate properties.  Here they are</p>
13-
<ol>
14-
<li><span style="font-size: 1em; line-height: 1.4;">Continuous at </span><em style="font-size: 1em; line-height: 1.4;">x=0</em></li>
15-
<li><span style="font-size: 1em; line-height: 1.4;">Differentiable at </span><em style="font-size: 1em; line-height: 1.4;">x=0</em></li>
16-
<li>Gradient is zero at <em>x=2.</em></li>
17-
</ol>
18-
<p>Typically, the answer to a mathematical question will need a number of separate things, e.g. equivalent to the correct answer, appropriate written form.  The teacher has to decide what these properties are, and design feedback if some, or all, are not satisfied.</p>
19-
<p>The teacher can also choose to test for properties which arise as a result of common misconceptions.</p>
20-
<p>Try <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">(x-2)^2+1</span></p>
21-
</div>
22-
<br>
23-
24-
<p>Give an example of a function \(f(x)\) with a stationary point at \(x={@n@}\) and which is continuous but not differentiable at \(x=0\).</p>
25-
<p>\(f(x)=\)[[input:ans1]]</p>
9+
<text><![CDATA[<br>
10+
<div class="stack-comment">
11+
<h2>Multiple properties</h2>
12+
<p>In this question STACK establishes multiple separate properties.  Here they are</p>
13+
<ol>
14+
<li><span style="font-size: 1em; line-height: 1.4;">Continuous at </span><em style="font-size: 1em; line-height: 1.4;">x=0</em></li>
15+
<li><span style="font-size: 1em; line-height: 1.4;">Differentiable at </span><em style="font-size: 1em; line-height: 1.4;">x=0</em></li>
16+
<li>Gradient is zero at <em>x=2.</em></li>
17+
</ol>
18+
<p>Typically, the answer to a mathematical question will need a number of separate things, e.g. equivalent to the correct answer, appropriate written form.  The teacher has to decide what these properties are, and design feedback if some, or all, are not satisfied.</p>
19+
<p>The teacher can also choose to test for properties which arise as a result of common misconceptions.</p>
20+
<p>Try <span style="font-family: 'courier new', courier, monospace; color: #0000ff;">(x-2)^2+1</span></p>
21+
</div>
22+
<br>
23+
24+
<p>Give an example of a function \(f(x)\) with a stationary point at \(x={@n@}\) and which is continuous but not differentiable at \(x=0\).</p>
25+
<p>\(f(x)=\)[[input:ans1]]</p>
2626
<div>[[validation:ans1]]</div>]]></text>
2727
</questiontext>
2828
<generalfeedback format="html">
29-
<text><![CDATA[<p>One way to construct such a function is to start with a continuous curve (the first property) with a stationary point at \(x={@n@}\) and then to "bend" the curve at the point at which we need differentiability to fail.  This can be done using the absolute value function \(|x|\).</p>
30-
<p>We start with a quadratic with roots at \(x=0\) and \(x=2\times {@n@}\) which has a stationary point at the required \(x={@n@}\).  For example \(x(x-{@2*n@})\).  Now we can "bend" it with the absolute value function as follows:</p>
31-
<p>\[ {@abs(x)*(x-2*n)@}\]</p>
29+
<text><![CDATA[<p>One way to construct such a function is to start with a continuous curve (the first property) with a stationary point at \(x={@n@}\) and then to "bend" the curve at the point at which we need differentiability to fail.  This can be done using the absolute value function \(|x|\).</p>
30+
<p>We start with a quadratic with roots at \(x=0\) and \(x=2\times {@n@}\) which has a stationary point at the required \(x={@n@}\).  For example \(x(x-{@2*n@})\).  Now we can "bend" it with the absolute value function as follows:</p>
31+
<p>\[ {@abs(x)*(x-2*n)@}\]</p>
3232
<p>This is plotted below. {@plot(abs(x)*(x-2*n),[x,-2,2*(n+1)])@}</p>]]></text>
3333
</generalfeedback>
3434
<defaultgrade>3</defaultgrade>

samplequestions/stackdemo/03_properties_graph_and_feedback.xml

Lines changed: 0 additions & 321 deletions
This file was deleted.

0 commit comments

Comments
 (0)