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="identifier">
5 <value>{$correctresponse.id}</value>
7 <mapping defaultValue="0">
8 <mapEntry mapKey="{$correctresponse.id}" mappedValue="{$correctresponse.fraction}"/>
11 </responseDeclaration>
12 <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
18 <p>{$questionText}</p>
19 <div class="intreactive.choiceSimple">
20 <choiceInteraction responseIdentifier="{$questionid}" shuffle="false" maxChoices="1">
21 {section name=answer loop=$answers}
22 <simpleChoice identifier="{$answers[answer].id}">{$answers[answer].answer}
23 {if $answers[answer].feedback != ''}
24 {if $answers[answer].answer != $correctresponse.answer}
25 <feedbackInline identifier="{$answers[answer].id}" outcomeIdentifier="FEEDBACK" showHide="hide">{$answers[answer].feedback}</feedbackInline>
31 {if $question_has_image == 1}
34 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
36 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />
42 <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">
47 <variable identifier="{$questionid}"/>
48 <correct identifier="{$questionid}"/>
50 <setOutcomeValue identifier="SCORE">
51 <baseValue baseType="float">1</baseValue>
56 <setOutcomeValue identifier="SCORE">
57 <baseValue baseType="float">0</baseValue>
61 <setOutcomeValue identifier="FEEDBACK">
62 <variable identifier="{$questionid}"/>
65 {section name=answer loop=$answers}
66 {if $answers[answer].feedback != ''}
67 <modalFeedback outcomeIdentifier="FEEDBACK" identifier="{$answers[answer].id}" showHide="hide">{$answers[answer].feedback}</modalFeedback>