Sharebar?

scoring multiple interactions all or none

scoring multiple interactions all or none

responseProcessing

scoring multiple interactions all or none

Hello,

If I have two choiceInteractions in one item and wish to score 2pts if both are correct, otherwise 0pts, is this an acceptable way of using <and> to do that?

thank you, Sari

<responseDeclaration identifier="R01" cardinality="single" baseType="identifier">
<correctResponse>
<value>A</value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="R02" cardinality="single" baseType="identifier">
<correctResponse>
<value>D</value>
</correctResponse>
</responseDeclaration>
....
<responseCondition>
<responseIf>
<and>
<match><variable identifier="R01" /><correct identifier="R01" /></match>
<match><variable identifier="R02" /><correct identifier="R02" /></match>
</and>
<setOutcomeValue identifier="score"><baseValue baseType="integer">2</baseValue></setOutcomeValue>
</responseIf>
<responseElse>
<setOutcomeValue identifier="score"><baseValue baseType="integer">0</baseValue></setOutcomeValue>
</responseElse>
</responseCondition>