tao-test/app/taoQtiItem/test/integration/update/samples/updateResult.xml

181 lines
7.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:m="http://www.w3.org/1998/Math/MathML" 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="i1452608311529865" title="raw 1" label="" xml:lang="en-US" adaptive="false" timeDependent="false" toolName="TAO">
<responseDeclaration identifier="RESPONSE" cardinality="multiple" baseType="identifier">
<correctResponse>
<value><![CDATA[choice_1]]></value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="RESPONSE_1" cardinality="ordered" baseType="identifier">
<correctResponse>
<value><![CDATA[choice_4]]></value>
<value><![CDATA[choice_5]]></value>
</correctResponse>
</responseDeclaration>
<responseDeclaration identifier="RESPONSE_2" cardinality="single" baseType="identifier">
<correctResponse>
<value><![CDATA[choice_7]]></value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
<outcomeDeclaration identifier="FEEDBACK_1" cardinality="single" baseType="identifier"/>
<outcomeDeclaration identifier="FEEDBACK_2" cardinality="single" baseType="identifier"/>
<outcomeDeclaration identifier="FEEDBACK_3" cardinality="single" baseType="identifier"/>
<outcomeDeclaration identifier="FEEDBACK_4" cardinality="single" baseType="identifier"/>
<outcomeDeclaration identifier="FEEDBACK_5" cardinality="single" baseType="identifier"/>
<itemBody>
<div class="grid-row">
<div class="col-6">
<choiceInteraction responseIdentifier="RESPONSE" shuffle="false" maxChoices="0" minChoices="0" orientation="vertical">
<simpleChoice identifier="choice_1" fixed="false" showHide="show">choice #1</simpleChoice>
<simpleChoice identifier="choice_2" fixed="false" showHide="show">choice #2</simpleChoice>
<simpleChoice identifier="choice_3" fixed="false" showHide="show">choice #3</simpleChoice>
</choiceInteraction>
</div>
<div class="col-6">
<orderInteraction responseIdentifier="RESPONSE_1" shuffle="false" orientation="vertical">
<simpleChoice identifier="choice_4" fixed="false" showHide="show">choice #1</simpleChoice>
<simpleChoice identifier="choice_5" fixed="false" showHide="show">choice #2</simpleChoice>
<simpleChoice identifier="choice_6" fixed="false" showHide="show">choice #3</simpleChoice>
</orderInteraction>
</div>
</div>
<div class="grid-row">
<div class="col-12">Lorem ipsum dolor<inlineChoiceInteraction responseIdentifier="RESPONSE_2" shuffle="false" required="false"><inlineChoice identifier="choice_7" fixed="false" showHide="show">choice #1</inlineChoice><inlineChoice identifier="choice_8" fixed="false" showHide="show">choice #2</inlineChoice><inlineChoice identifier="choice_9" fixed="false" showHide="show">choice #3</inlineChoice></inlineChoiceInteraction>
sit amet, consectetur adipisicing ...</div>
</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_1">
<baseValue baseType="identifier">feedbackModal_1</baseValue>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE"/>
<correct identifier="RESPONSE"/>
</match>
<setOutcomeValue identifier="FEEDBACK_2">
<baseValue baseType="identifier">feedbackModal_2</baseValue>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<not>
<match>
<variable identifier="RESPONSE"/>
<correct identifier="RESPONSE"/>
</match>
</not>
<setOutcomeValue identifier="FEEDBACK_3">
<baseValue baseType="identifier">feedbackModal_3</baseValue>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_1"/>
<correct identifier="RESPONSE_1"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_1"/>
<correct identifier="RESPONSE_1"/>
</match>
<setOutcomeValue identifier="FEEDBACK_4">
<baseValue baseType="identifier">feedbackModal_4</baseValue>
</setOutcomeValue>
</responseIf>
<responseElse>
<setOutcomeValue identifier="FEEDBACK_4">
<baseValue baseType="identifier">feedbackModal_5</baseValue>
</setOutcomeValue>
</responseElse>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_2"/>
<correct identifier="RESPONSE_2"/>
</match>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE"/>
<baseValue baseType="integer">1</baseValue>
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
<responseCondition>
<responseIf>
<match>
<variable identifier="RESPONSE_2"/>
<correct identifier="RESPONSE_2"/>
</match>
<setOutcomeValue identifier="FEEDBACK_5">
<baseValue baseType="identifier">feedbackModal_6</baseValue>
</setOutcomeValue>
</responseIf>
<responseElse>
<setOutcomeValue identifier="FEEDBACK_5">
<baseValue baseType="identifier">feedbackModal_7</baseValue>
</setOutcomeValue>
</responseElse>
</responseCondition>
</responseProcessing>
<modalFeedback identifier="feedbackModal_1" outcomeIdentifier="FEEDBACK_1" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE">correct</div>
</modalFeedback>
<modalFeedback identifier="feedbackModal_2" outcomeIdentifier="FEEDBACK_2" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE">correct</div>
</modalFeedback>
<modalFeedback identifier="feedbackModal_3" outcomeIdentifier="FEEDBACK_3" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE">wrong</div>
</modalFeedback>
<modalFeedback identifier="feedbackModal_4" outcomeIdentifier="FEEDBACK_4" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE_1">right</div>
</modalFeedback>
<modalFeedback identifier="feedbackModal_5" outcomeIdentifier="FEEDBACK_4" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE_1">wrong</div>
</modalFeedback>
<modalFeedback identifier="feedbackModal_6" outcomeIdentifier="FEEDBACK_5" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE_2">correct</div>
</modalFeedback>
<modalFeedback identifier="feedbackModal_7" outcomeIdentifier="FEEDBACK_5" showHide="show" title="">
<div class="x-tao-wrapper x-tao-relatedOutcome-RESPONSE_2">wrong</div>
</modalFeedback>
</assessmentItem>