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="single" baseType="float">
5 <value>{$answer->answer}</value>
7 <mapping defaultValue="0">
8 <mapEntry mapKey="{$answer->answer}" mappedValue="{$answer->fraction}" />
10 </responseDeclaration>
11 <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
13 <p>{$questionText}</p>
14 <div class="interactive.textEntry">
15 <textEntryInteraction responseIdentifier="{$questionid}" expectedLength="10"/>
17 {if $question_has_image == 1}
20 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
22 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />
27 <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">
33 <variable identifier="{$questionid}" />
37 <baseValue baseType="float">{$lowerbound}</baseValue>
38 <variable identifier="{$questionid}" />
41 <baseValue baseType="float">{$upperbound}</baseValue>
42 <variable identifier="{$questionid}" />
45 <setOutcomeValue identifier="SCORE">
46 <baseValue baseType="integer">1</baseValue>
50 <setOutcomeValue identifier="SCORE">
51 <baseValue baseType="integer">0</baseValue>
55 <setOutcomeValue identifier="FEEDBACK">
56 <variable identifier="{$questionid}"/>
59 {if $answer->feedback != ''}
60 <modalFeedback outcomeIdentifier="FEEDBACK" identifier="{$answer->id}" showHide="show">{$answer->feedback}</modalFeedback>
62 {if $answer->altfeedback != ''}
63 <modalFeedback outcomeIdentifier="FEEDBACK" identifier="{$answer->id}" showHide="hide">{$answer->altfeedback}</modalFeedback>