tao-test/app/taoQtiItem/test/integration/samples/xml/qtiv2p1/item9feedback.xml

46 lines
2.3 KiB
XML
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1.xsd" identifier="item9feedback" title="Item 9" label="" xml:lang="en-US" adaptive="false" timeDependent="false">
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"/>
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="integer"/>
<outcomeDeclaration identifier="FEEDBACK" cardinality="single" baseType="identifier"/>
<itemBody>
<div> <choiceInteraction responseIdentifier="RESPONSE" shuffle="false" maxChoices="1" minChoices="0"><prompt>choose</prompt><simpleChoice identifier="Choice_1" fixed="false"/><simpleChoice identifier="Choice_2" fixed="false">B</simpleChoice><simpleChoice identifier="Choice_3" fixed="false">C</simpleChoice></choiceInteraction>
 </div>
</itemBody>
<responseProcessing>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE"/>
<correct identifier="RESPONSE"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE"/>
<correct identifier="RESPONSE"/>
</match>
<setOutcomeValue identifier="FEEDBACK">
<baseValue baseType="identifier">feedbackModal</baseValue>
</setOutcomeValue>
</responseIf>
<responseElse>
<setOutcomeValue identifier="FEEDBACK">
<baseValue baseType="identifier">feedbackModal_1</baseValue>
</setOutcomeValue>
</responseElse>
</responseCondition>
</responseProcessing>
<modalFeedback identifier="feedbackModal" outcomeIdentifier="FEEDBACK" showHide="show" title="is good">fairy gut !<br/></modalFeedback>
<modalFeedback identifier="feedbackModal_1" outcomeIdentifier="FEEDBACK" showHide="show" title="not gut">fairy bat :p<br/></modalFeedback>
</assessmentItem>