1 <<?php echo '?'; ?>xml version="1.0" encoding="<?php echo $this->encoding; ?>"<?php echo '?'; ?>>
2 <!-- true or false question (aka multiple choice with two choices) -->
4 xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 imsqti_v2p1.xsd"
7 identifier="ATUTOR-<?php echo $this->row['question_id']; ?>"
8 title="<?php echo $this->row['question']; ?>"
11 toolname="ATutor - atutor.ca"
12 toolversion="<?php echo VERSION; ?>"
14 <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
16 <?php if ($this->row['answer_0'] == 1): ?>
17 <value>ChoiceT</value>
19 <value>ChoiceF</value>
22 <?php if ($this->row['feedback']): ?>
23 <outcomeDeclaration identifier="FEEDBACK" cardinality="single" baseType="identifier"/>
25 </responseDeclaration>
28 <choiceInteraction responseIdentifier="RESPONSE<?php echo $this->row['question_id']; ?>" shuffle="false" maxChoices="1">
29 <prompt><?php echo $this->row['question']; ?></prompt>
30 <simpleChoice identifier="ChoiceT" fixed="true"><?php echo _AT('true'); ?></simpleChoice>
31 <simpleChoice identifier="ChoiceF" fixed="true"><?php echo _AT('false'); ?></simpleChoice>
35 <?php if ($this->row['feedback']): ?>
36 <modalFeedback outcomeIdentifier="FEEDBACK" identifier="FEEDBACK" showHide="hide"><?php echo $this->row['feedback']; ?></modalFeedback>