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

46 lines
2.3 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>