File:
[LON-CAPA] /
loncom /
homework /
templates /
MultipleAnswerEither.problem
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Fri Jul 6 17:32:41 2007 UTC (17 years, 1 month ago) by
www
Branches:
MAIN
CVS tags:
version_2_9_X,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_99_0,
bz5969,
HEAD,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox
Templates for multi-answer responses.
<problem>
<script type="loncapa/perl">#Enter the computations here
$a=&random(1,10,1);
$b=$a*$a;
</script>
<startouttext />
If <m eval="on">$x^2=$b$</m>, what is a possible value of <m>$x$</m>?
<endouttext />
<numericalresponse>
<answergroup type="ordered">
<answer name="negative" type="ordered">
<value>-$a</value>
</answer>
<answer name="positive" type="ordered">
<value>$a</value>
</answer>
</answergroup>
<responseparam type="tolerance" default="5%" name="tol"
description="Numerical Tolerance" />
<responseparam name="sig" type="int_range,0-16" default="0,15"
description="Significant Figures" />
<textline readonly="no" />
</numericalresponse>
</problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>