1 {if $courselevelexport}<?xml version="1.0" encoding="UTF-8"?>{/if}
2 <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p0 imsqti_v2p0.xsd"
5 identifier="{$assessmentitemidentifier}" title="{$assessmentitemtitle}" adaptive="false" timeDependent="false">
6 <responseDeclaration identifier="{$questionid}" cardinality="{$responsedeclarationcardinality}" baseType="identifier">
8 {section name=answer loop=$correctresponses}
9 <value>{$correctresponses[answer].id}</value>
12 </responseDeclaration>
13 <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
18 <outcomeDeclaration identifier="FEEDBACK" cardinality="{$responsedeclarationcardinality}" baseType="identifier"/>
19 <outcomeDeclaration identifier="FEEDBACK2" cardinality="single" baseType="identifier"/>
21 <div class="assesmentItemBody">
22 <p>{$questionText}</p>
24 {if $question_has_image == 1}
27 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
29 <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />
33 <div class="interactive.choiceMultiple">
34 <choiceInteraction responseIdentifier="{$questionid}" shuffle="{$shuffle}" maxChoices="{$maxChoices}">
35 {section name=answer loop=$answers}
36 <simpleChoice identifier="i{$answers[answer].id}">{$answers[answer].answer}
37 {if $answers[answer].feedback != ''}
38 {if $answers[answer].answer != $correctresponse.answer}
39 <feedbackInline identifier="i{$answers[answer].id}" outcomeIdentifier="FEEDBACK" showHide="show">{$answers[answer].feedback}</feedbackInline>
48 {section name=answer loop=$answers}
52 <baseValue baseType="identifier">i{$answers[answer].id}</baseValue>
53 <variable identifier="{$questionid}"/>
55 <setOutcomeValue identifier="SCORE">
57 <variable identifier="SCORE"/>
58 <baseValue baseType="float">{$answers[answer].fraction}</baseValue>
67 <variable identifier="SCORE"/>
68 <baseValue baseType="float">0</baseValue>
70 <setOutcomeValue identifier="SCORE">
71 <baseValue baseType="float">0</baseValue>
73 <setOutcomeValue identifier="FEEDBACK2">
74 <baseValue baseType="identifier">INCORRECT</baseValue>
79 <variable identifier="SCORE"/>
80 <baseValue baseType="float">0.99</baseValue>
82 <setOutcomeValue identifier="SCORE">
83 <baseValue baseType="float">1</baseValue>
85 <setOutcomeValue identifier="FEEDBACK2">
86 <baseValue baseType="identifier">CORRECT</baseValue>
90 <setOutcomeValue identifier="FEEDBACK2">
91 <baseValue baseType="identifier">PARTIAL</baseValue>
95 <setOutcomeValue identifier="FEEDBACK">
96 <variable identifier="{$questionid}"/>
99 {if $correctfeedback != ''}
100 <modalFeedback outcomeIdentifier="FEEDBACK2" identifier="CORRECT" showHide="show">{$correctfeedback}</modalFeedback>
102 {if $partiallycorrectfeedback != ''}
103 <modalFeedback outcomeIdentifier="FEEDBACK2" identifier="PARTIAL" showHide="show">{$partiallycorrectfeedback}</modalFeedback>
105 {if $incorrectfeedback != ''}
106 <modalFeedback outcomeIdentifier="FEEDBACK2" identifier="INCORRECT" showHide="show">{$incorrectfeedback}</modalFeedback>
108 {if $generalfeedback != ''}
109 <modalFeedback outcomeIdentifier="completionStatus" identifier="not_attempted" showHide="hide">{$generalfeedback}</modalFeedback>