tao-test/app/taoQtiItem/test/integration/samples/xml/qtiv2p1/responseProcessing/templateDrivenSingleRESPONSE.xml

53 lines
3.3 KiB
XML

<?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" xmlns:m="http://www.w3.org/1998/Math/MathML"
identifier="i1438602034285160" title="Item 12" adaptive="false" timeDependent="false" label="" xml:lang="en-US" toolName="TAO" toolVersion="3.1.0-sprint04" >
<responseDeclaration baseType="directedPair" cardinality="multiple" identifier="RESPONSE" >
<correctResponse>
<value><![CDATA[choice_6 choice_8]]></value>
</correctResponse>
<mapping defaultValue="0">
<mapEntry mapKey="choice_6 choice_8" mappedValue="2" caseSensitive="false"/>
<mapEntry mapKey="choice_6 choice_9" mappedValue="1" caseSensitive="false"/>
<mapEntry mapKey="choice_7 choice_8" mappedValue="1" caseSensitive="false"/>
</mapping>
</responseDeclaration>
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float" />
<stylesheet href="style/custom/tao-user-styles.css" type="text/css" media="all" title="" />
<itemBody>
<div class="grid-row">
<div class="col-12">
<matchInteraction shuffle="true" maxAssociations="0" minAssociations="0" responseIdentifier="RESPONSE" >
<prompt />
<simpleMatchSet>
<simpleAssociableChoice fixed="false" showHide="show" matchMax="0" matchMin="0" identifier="choice_6" >choice #1</simpleAssociableChoice>
<simpleAssociableChoice fixed="false" showHide="show" matchMax="0" matchMin="0" identifier="choice_7" >choice #2</simpleAssociableChoice>
</simpleMatchSet>
<simpleMatchSet>
<simpleAssociableChoice fixed="false" showHide="show" matchMax="0" matchMin="0" identifier="choice_8" >choice #1</simpleAssociableChoice>
<simpleAssociableChoice fixed="false" showHide="show" matchMax="0" matchMin="0" identifier="choice_9" >choice #2</simpleAssociableChoice>
<simpleAssociableChoice fixed="false" showHide="show" matchMax="0" matchMin="0" identifier="choice_10" >choice #3</simpleAssociableChoice>
<simpleAssociableChoice fixed="false" showHide="show" matchMax="0" matchMin="0" identifier="choice_11" >choice #4</simpleAssociableChoice>
</simpleMatchSet>
</matchInteraction>
</div>
</div>
</itemBody>
<responseProcessing>
<!--this response condition will be serialized back to a standard template : match_correct-->
<responseCondition>
<responseIf>
<not>
<isNull>
<variable identifier="RESPONSE" />
</isNull>
</not>
<setOutcomeValue identifier="SCORE">
<sum>
<variable identifier="SCORE" />
<mapResponse identifier="RESPONSE" />
</sum>
</setOutcomeValue>
</responseIf>
</responseCondition>
</responseProcessing>
</assessmentItem>