version 1.1, 2004/06/09 13:55:21
|
version 1.2, 2004/06/15 15:50:03
|
Line 1
|
Line 1
|
\label{numerical_wrong_answers} |
\label{numerical_wrong_answers} |
The quick explanation is you need to provide an array of incorrect |
When switched into exam (``bubble sheet'') mode, |
|
LON-CAPA usually create wrong answers automatically. |
|
To specify wrong answers yourself, you need to provide an array of incorrect |
values to the <numericalresponse> throught the 'incorrect' attribute. |
values to the <numericalresponse> throught the 'incorrect' attribute. |
You need to provide at least as many incorrects as 1 less then the |
You need to provide at least as many incorrects as 1 less than the |
number of bubbles on the exam. You can provide more if you want to. |
number of bubbles on the exam. You can provide more if you want to. |
|
|
(in Edit mode there should be an 'Incorrect Answers:' field you can |
In Edit mode there is an 'Incorrect Answers:' field you can |
fill in) |
fill in. |
|
|
Minimal example problem: |
Minimal example problem: |
|
\begin{verbatim} |
<problem> |
<problem> |
<script type="loncapa/perl"> |
<script type="loncapa/perl"> |
$answer=1; |
$answer=1; |
Line 21 Minimal example problem:
|
Line 23 Minimal example problem:
|
<textline /> |
<textline /> |
</numericalresponse> |
</numericalresponse> |
</problem> |
</problem> |
|
\end{verbatim} |
Let me know if any this fails to work for you. |
|