[LON-CAPA-users] numerical response routine

H. K. Ng hkng at fsu.edu
Mon Sep 14 15:05:57 EDT 2015


Hi,

I am writing some custom response problems and would like to know if there
is a routine similar to what the numerical response tag does? i.e., pass
the right answer with unit (if required) and the submitted answer also with
unit. The response parameters like tolerance, sig figures are passed as
options. The response coming back would be 'EXACT_ANS', 'APPROX_ANS',...
The custom response problems have multiple answers per input field so I
need to check that each answer matches one of the expected answers.
Currently, I can check just the numerical part w/o unit but with unit the
checking is messy.

Thanks,
-hk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20150914/9399f9ba/attachment.html>


More information about the LON-CAPA-users mailing list