[LON-CAPA-cvs] cvs: loncom /homework/templates numMultiAnswerUnordered.problem numMultiAnswerUnordered.problem.meta doc/loncapafiles loncapafiles.lpml
goltermann
goltermann at source.lon-capa.org
Fri Nov 16 09:44:54 EST 2012
goltermann Fri Nov 16 14:44:54 2012 EDT
Added files:
/loncom/homework/templates numMultiAnswerUnordered.problem
numMultiAnswerUnordered.problem.meta
Modified files:
/doc/loncapafiles loncapafiles.lpml
Log:
Added a new template for numerical response with multiple unordered answers
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.814 doc/loncapafiles/loncapafiles.lpml:1.815
--- doc/loncapafiles/loncapafiles.lpml:1.814 Thu Nov 8 18:15:25 2012
+++ doc/loncapafiles/loncapafiles.lpml Fri Nov 16 14:44:44 2012
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.814 2012/11/08 18:15:25 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.815 2012/11/16 14:44:44 goltermann Exp $ -->
<!--
@@ -1500,6 +1500,8 @@
man1.jpg.meta;
numerical.problem;
numerical.problem.meta;
+numMultiAnswerUnordered.problem;
+numMultiAnswerUnordered.problem.meta;
numPrePro.problem;
numPrePro.problem.meta;
Plot.problem.meta;
Index: loncom/homework/templates/numMultiAnswerUnordered.problem
+++ loncom/homework/templates/numMultiAnswerUnordered.problem
<problem>
<script type="loncapa/perl">
$a = &random(1,7,1);
$b = $a*$a;
</script>
<startouttext />
In <m eval="on">$ x^2 - $b = 0 $</m>, what are possible values of <m>$ x $</m>?<br />
<endouttext />
<numericalresponse>
<answergroup type="ordered">
<answer type="unordered">
<value>-$a</value>
<value>$a</value>
</answer>
</answergroup>
<textline size="10" readonly="no" />
<textline size="10" readonly="no" />
</numericalresponse>
</problem>
Index: loncom/homework/templates/numMultiAnswerUnordered.problem.meta
+++ loncom/homework/templates/numMultiAnswerUnordered.problem.meta
<title>Numerical Response Multiple Answers unordered</title>
<category>Numerical Problems</category>
More information about the LON-CAPA-cvs
mailing list