[LON-CAPA-users] Format of solution fields

Justin Gray jgray at math.sfu.ca
Wed May 22 19:25:02 EDT 2013


A little background information would help to clarify the problem. What
format do you expect for a correct submission? Do you require the fraction
to be reduced to lowest terms? Do you accept answers in decimal notation?

Justin



Justin Gray | Senior Lecturer
Department of Mathematics | Simon Fraser University
8888 University Drive, Burnaby | V5A 1S6 | Canada
Tel: +1 778.782.4237



On Mon, May 20, 2013 at 6:51 PM, Carl Lira <lira at egr.msu.edu> wrote:

> I could not decipher what you were trying to do until I pasted it into a
> new problem. It looks like you want the students to answer with a formula
> using a + or – sign, you want the students to use a fraction, and you want
> to check for a specific answer, such as +1/4. You created a complex layout
> for a fairly simple input.****
>
> ** **
>
> You could just state that the answer should be a fraction with an explicit
> + or – sign and give an example in the statement or a hint. Then create a
> string response instead of a numerical problem. There are some more
> complicated example loncapa problems using the cas system, but if all you
> want to do is may sure that they have the correct numerator, denominator,
> and sign, then a string response should work, even though you are asking
> for numbers. The string will not evaluate as the same if they enter +.25.
> You should be able to build the string from random variables.****
>
> ** **
>
> ** **
>
> -------------------------------****
>
> From loncapa listserv April Archives….****
>
> ** **
>
> Hi,****
>
> ** **
>
> does anyone know, how i can format the following problem without a table?****
>
> ** **
>
>
> Thanks,****
>
> Christina****
>
> ** **
>
> %<-----------------begin  example ****
>
> --------------------------------------------------------****
>
> ** **
>
> <table>****
>
> <tr><td></td><td></td><td><numericalresponse answer="1" >****
>
>      <responseparam name="tol" default="0%" type="tolerance" ****
>
> description="Numerical Tolerance" />****
>
>      <textline readonly="no" size="2" />****
>
>      <hintgroup showoncorrect="no">****
>
>      <startouttext /><endouttext />****
>
>      </hintgroup>****
>
>      </numericalresponse></td></tr>****
>
>      <tr>    <td></td><td><optionresponse max="1"  randomize="no" ****
>
> TeXlayout="horizontal">****
>
>                            <foilgroup options="('+','-')" texoptions="">****
>
>                              <foil location="random" value="-" name="foil1">****
>
>                              </foil>****
>
>                            </foilgroup>****
>
> </optionresponse></td><td>------</td></tr>****
>
>      <tr> <td></td><td></td><td><numericalresponse answer="4" >****
>
>      <responseparam name="tol" default="0%" type="tolerance" ****
>
> description="Numerical Tolerance" />****
>
>      <textline readonly="no" size="2" />****
>
>      <hintgroup showoncorrect="no">****
>
>      <startouttext /><endouttext />****
>
>      </hintgroup>****
>
>      </numericalresponse></td></tr>****
>
>      <tr> <td>a</td><td></td><td></td></tr>****
>
> </table>****
>
> ** **
>
> ** **
>
> %<-----------------end  example ****
>
> --------------------------------------------------------****
>
> ** **
>
> -- ****
>
> Christina Möller, M.Eng.****
>
> Fachhochschule Stralsund****
>
> Centrum für bessere Übergänge und Studienbedingungen (CÜS)****
>
> Zur Schwedenschanze 15****
>
> 18435 Stralsund****
>
> ** **
>
> Büro:   Haus 1, Raum 245/246****
>
> Tel:    +49 3831 457330****
>
> Fax:    +49 3831 456680****
>
> E-Mail: Christina.Moeller at fh-stralsund.de <http://mail.lon-capa.org/mailman/listinfo/lon-capa-users>****
>
>          www.cues.fh-stralsund.de****
>
> ** **
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20130522/9b18ceee/attachment.html>


More information about the LON-CAPA-users mailing list