[LON-CAPA-users] Alternate answer

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Tue, 10 Apr 2007 14:30:34 -0400 (EDT)

Hi Hon-Kie,

> Is there a way to specify two correct answers in the randomized exam mode?

Hrrm. Maybe?

Not sure if this will work but thinking about things... I think if you

<script type="loncapa/perl">
@wrongs = (1,2,3,4,5,6,7);
<numericalresponse answer="8" incorrect="@wrongs">
    <answer name="seven"><value>7</value></answer>
  <textline />

Then 7 and 8 will both appear as a bubble, and both could be picked as
a correct answer.

(This is untested though.)

guy@albertelli.com   0-7-0-9-27,137