1 {if $courselevelexport}<?xml version="1.0" encoding="UTF-8"?>{/if}
2 <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">
3 <responseDeclaration identifier="{$questionid}" cardinality="{$responsedeclarationcardinality}" baseType="string">
5 {section name=answer loop=$correctresponses}
6 <value>{$correctresponses[answer].answer}</value>
9 <mapping lowerBound="0" upperBound="1" defaultValue="0">
10 {section name=answer loop=$answers}
11 {if $answers[answer].fraction != 0}
12 <mapEntry mapKey="{$answers[answer].answer}" mappedValue="{$answers[answer].fraction}" />
16 </responseDeclaration>
17 <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
19 <p>{$questionText}</p>
20 <div class="interactive.textEntry">
21 <textEntryInteraction responseIdentifier="{$questionid}" expectedLength="15"/>
23 {if $question_has_image == 1}
26 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
28 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />
33 <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">
37 <variable identifier="{$questionid}"/>
39 <setOutcomeValue identifier="SCORE">
40 <baseValue baseType="integer">0</baseValue>
44 <setOutcomeValue identifier="SCORE">
45 <mapResponse identifier="{$questionid}"/>