version 1.2, 2004/06/15 15:50:03
|
version 1.3, 2016/08/20 16:27:15
|
Line 1
|
Line 1
|
\label{numerical_wrong_answers} |
\label{numerical_wrong_answers} |
When switched into exam (``bubble sheet'') mode, |
When switched into exam (``bubble sheet'') mode, |
LON-CAPA usually create wrong answers automatically. |
LON-CAPA usually creates wrong answers automatically. |
To specify wrong answers yourself, you need to provide an array of incorrect |
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> through the `incorrect' attribute. |
You need to provide at least as many incorrects as 1 less than 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 is 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: |
Line 16 Minimal example problem:
|
Line 16 Minimal example problem:
|
$answer=1; |
$answer=1; |
@incorrects=(2,3,4,5,6,7,8); |
@incorrects=(2,3,4,5,6,7,8); |
</script> |
</script> |
<startoutext /> |
<startouttext /> |
Correct answer is 1. <br /> |
Correct answer is 1. <br /> |
<endouttext /> |
<endouttext /> |
<numericalresponse answer="$answer" incorrect="@incorrects"> |
<numericalresponse answer="$answer" incorrect="@incorrects"> |