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="identifier">
5 {section name=answer loop=$correctresponses}
6 <value>{$correctresponses[answer].id}</value>
9 <mapping lowerBound="0" upperBound="1" defaultValue="{$defaultvalue}">
10 {section name=answer loop=$answers}
11 {if $answers[answer].fraction != 0}
12 <mapEntry mapKey="{$answers[answer].id}" mappedValue="{$answers[answer].fraction}" />
16 </responseDeclaration>
17 <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float" />
19 <div class="assesmentItemBody">
20 <p>{$questionText}</p>
22 <div class="interactive.choiceMultiple">
23 <choiceInteraction responseIdentifier="{$questionid}" shuffle="false" maxChoices="{$maxChoices}">
24 {section name=answer loop=$answers}
25 <simpleChoice identifier="{$answers[answer].id}" fixed="false"><p>{$answers[answer].choice}
26 {if $answers[answer].media != ''}
27 <object type="{$answers[answer].mediamimetype}" data="{$answers[answer].media}" width="{$answers[answer].mediax}" height="{$answers[answer].mediay}" />
29 {if $answers[answer].feedback != ''}
30 <feedbackInline identifier="{$answers[answer].id}" outcomeIdentifier="FEEDBACK" showHide="show">{$answers[answer].feedback}</feedbackInline>
32 {if $answers[answer].altfeedback != ''}
33 <feedbackInline identifier="{$answers[answer].id}" outcomeIdentifier="ALTFEEDBACK" showHide="hide">{$answers[answer].altfeedback}</feedbackInline>
39 {if $question_has_image == 1}
42 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
44 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />
49 <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">
53 <variable identifier="{$questionid}"/>
55 <setOutcomeValue identifier="SCORE">
56 <baseValue baseType="float">0</baseValue>
60 <setOutcomeValue identifier="SCORE">
61 <mapResponse identifier="{$questionid}"/>
68 <variable identifier="SCORE"/>
69 <baseValue baseType="float">{$question->feedbackfraction}</baseValue>
71 <setOutcomeValue identifier="FEEDBACK">
72 <variable identifier="feedbackok"/>
76 <setOutcomeValue identifier="FEEDBACK">
77 <variable identifier="feedbackmissed"/>
82 {if $question->feedbackok != ''}
83 <modalFeedback outcomeIdentifier="FEEDBACK" identifier="feedbackok" showHide="show">{$question->feedbackok}</modalFeedback>
85 {if $question->feedbackmissed != ''}
86 <modalFeedback outcomeIdentifier="FEEDBACK" identifier="feedbackmissed" showHide="hide">{$question->feedbackmissed}</modalFeedback>