1 <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_item_v2p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_item_v2p0 ./imsqti_item_v2p0.xsd" identifier="{$assessmentitemidentifier}" title="{$assessmentitemtitle}" adaptive="false" timeDependent="false">
2 <responseDeclaration identifier="{$questionid}" cardinality="multiple" baseType="directedPair">
4 {section name=set loop=$matchsets}
5 <value>q{$matchsets[set].id} a{$matchsets[set].id}</value>
9 <mapping defaultValue="0">
10 {section name=set loop=$matchsets}
11 <mapEntry mapKey="q{$matchsets[set].id} a{$matchsets[set].id}" mappedValue="1"/>
14 </responseDeclaration>
15 <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
18 <p>{$questionText}</p>
19 <div class="interactive.match">
20 <matchInteraction responseIdentifier="{$questionid}" shuffle="false" maxAssociations="{$setcount}">
22 {section name=set loop=$matchsets}
23 <simpleAssociableChoice identifier="q{$matchsets[set].id}" matchMax="1">{$matchsets[set].questiontext}</simpleAssociableChoice>
27 {section name=set loop=$matchsets}
28 <simpleAssociableChoice identifier="a{$matchsets[set].id}" matchMax="{$setcount}">{$matchsets[set].answertext}</simpleAssociableChoice>
33 {if $question_has_image == 1}
36 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
38 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />
43 <responseProcessing xmlns="http://www.imsglobal.org/xsd/imsqti_item_v2p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_item_v2p0 ../imsqti_item_v2p0.xsd">
48 <variable identifier="{$questionid}"/>
50 <setOutcomeValue identifier="SCORE">
51 <baseValue baseType="integer">0</baseValue>
56 <setOutcomeValue identifier="SCORE">
57 <mapResponse identifier="{$questionid}"/>