[LON-CAPA-users] formularesponse with ordered lists
Justin Gray
lon-capa-users@mail.lon-capa.org
Tue, 28 Oct 2008 12:35:51 -0700
------=_Part_63974_1201918.1225222551212
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Consider the following problem, whose answer is an ordered list:
<problem>
<startouttext /><p>List all the factors of 108 from smallest to largest.</p>
<p><b>Important Note: </b> List the factors separated by commas, and enclose
your answer in parentheses ( ).</p><endouttext />
<formularesponse answer="(1,2,3,4,6,9,12,18,27,36,54,108)" id="13">
<textline readonly="no" size="100" />
</formularesponse>
</problem>
An answer of 108 is also graded correct.
I tested this with other examples and it seems that if the correct answer is
an ordered list then the last element in the list is also accepted as a
correct answer.
Furthermore, it seems that any list whose last element is 108 is accepted as
a correct answer.
Can anyone explain this?
Thanks,
Justin
P.S. I could have made the answer an unordered list, except this would
involve checking about 479 million permutations.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Justin Gray
Dept. of Mathematics
Simon Fraser University
8888 University Drive
Burnaby, B.C. V5A 1S6
Canada
Tel. +1 778-782-4237
Fax. +1 778-782-4947
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------=_Part_63974_1201918.1225222551212
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Consider the following problem, whose answer is an ordered list:<br><br><problem><br><startouttext /><p>List all the factors of 108 from smallest to largest.</p><br><p><b>Important Note: </b> List the factors separated by commas, and enclose your answer in parentheses ( ).</p><endouttext /><br>
<formularesponse answer="(1,2,3,4,6,9,12,18,27,36,54,108)" id="13"> <br> <textline readonly="no" size="100" /> <br></formularesponse><br></problem><br>
<br>An answer of 108 is also graded correct. <br><br>I tested this with other examples and it seems that if the correct answer is an ordered list then the last element in the list is also accepted as a correct answer. <br>
<br>Furthermore, it seems that any list whose last element is 108 is accepted as a correct answer.<br clear="all"><br>Can anyone explain this?<br><br>Thanks,<br>Justin<br><br>P.S. I could have made the answer an unordered list, except this would involve checking about 479 million permutations.<br>
-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Justin Gray <br>Dept. of Mathematics <br>Simon Fraser University<br>
8888 University Drive<br>Burnaby, B.C. V5A 1S6<br>Canada<br>Tel. +1 778-782-4237<br>Fax. +1 778-782-4947<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br><br><br><br><br>
------=_Part_63974_1201918.1225222551212--