qti 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +28 -0
  3. data/Rakefile +1 -0
  4. data/lib/qti.rb +62 -0
  5. data/lib/qti/models/base.rb +80 -0
  6. data/lib/qti/models/manifest.rb +20 -0
  7. data/lib/qti/v1/models/assessment.rb +17 -0
  8. data/lib/qti/v1/models/assessment_item.rb +59 -0
  9. data/lib/qti/v1/models/base.rb +13 -0
  10. data/lib/qti/v1/models/choices/logical_identifier_choice.rb +26 -0
  11. data/lib/qti/v1/models/interactions/logical_identifier_interaction.rb +32 -0
  12. data/lib/qti/v2/models/assessment_item.rb +62 -0
  13. data/lib/qti/v2/models/assessment_test.rb +32 -0
  14. data/lib/qti/v2/models/base.rb +70 -0
  15. data/lib/qti/v2/models/choices/simple_choice.rb +28 -0
  16. data/lib/qti/v2/models/interactions.rb +25 -0
  17. data/lib/qti/v2/models/interactions/choice_interaction.rb +50 -0
  18. data/spec/fixtures/items_1.2/multiple_answer.xml +105 -0
  19. data/spec/fixtures/items_1.2/multiple_choice.xml +83 -0
  20. data/spec/fixtures/items_1.2/true_false.xml +50 -0
  21. data/spec/fixtures/items_2.1/Example01-modalFeedback.xml +79 -0
  22. data/spec/fixtures/items_2.1/Example02-feedbackInline.xml +67 -0
  23. data/spec/fixtures/items_2.1/Example03-feedbackBlock-solution-random.xml +223 -0
  24. data/spec/fixtures/items_2.1/Example03-feedbackBlock-solution.xml +238 -0
  25. data/spec/fixtures/items_2.1/Example04-feedbackBlock-templateBlock.xml +582 -0
  26. data/spec/fixtures/items_2.1/Example05-feedbackBlock-adaptive.xml +397 -0
  27. data/spec/fixtures/items_2.1/adaptive.xml +286 -0
  28. data/spec/fixtures/items_2.1/adaptive_template.xml +350 -0
  29. data/spec/fixtures/items_2.1/associate.xml +33 -0
  30. data/spec/fixtures/items_2.1/audio-video.xml +46 -0
  31. data/spec/fixtures/items_2.1/choice.xml +31 -0
  32. data/spec/fixtures/items_2.1/choice_aria.xml +42 -0
  33. data/spec/fixtures/items_2.1/choice_fixed.xml +33 -0
  34. data/spec/fixtures/items_2.1/choice_multiple.xml +31 -0
  35. data/spec/fixtures/items_2.1/choice_multiple_chocolade.xml +74 -0
  36. data/spec/fixtures/items_2.1/choice_multiple_rtl.xml +33 -0
  37. data/spec/fixtures/items_2.1/choice_ruby.xml +39 -0
  38. data/spec/fixtures/items_2.1/choice_t_f.xml +30 -0
  39. data/spec/fixtures/items_2.1/choice_true_false.xml +30 -0
  40. data/spec/fixtures/items_2.1/data-attributes.xml +61 -0
  41. data/spec/fixtures/items_2.1/drawing.xml +16 -0
  42. data/spec/fixtures/items_2.1/essay.xml +14 -0
  43. data/spec/fixtures/items_2.1/extended_text.xml +24 -0
  44. data/spec/fixtures/items_2.1/extended_text_rubric.xml +36 -0
  45. data/spec/fixtures/items_2.1/feedback_adaptive.xml +142 -0
  46. data/spec/fixtures/items_2.1/figures.xml +32 -0
  47. data/spec/fixtures/items_2.1/gap_match.xml +33 -0
  48. data/spec/fixtures/items_2.1/graphic_associate.xml +36 -0
  49. data/spec/fixtures/items_2.1/graphic_gap_match.xml +54 -0
  50. data/spec/fixtures/items_2.1/graphic_gap_match_text.xml +50 -0
  51. data/spec/fixtures/items_2.1/graphic_order.xml +32 -0
  52. data/spec/fixtures/items_2.1/hint.xml +85 -0
  53. data/spec/fixtures/items_2.1/hotspot.xml +26 -0
  54. data/spec/fixtures/items_2.1/hottext.xml +33 -0
  55. data/spec/fixtures/items_2.1/images/CBG.png +0 -0
  56. data/spec/fixtures/items_2.1/images/EBG.png +0 -0
  57. data/spec/fixtures/items_2.1/images/EDI.png +0 -0
  58. data/spec/fixtures/items_2.1/images/GLA.png +0 -0
  59. data/spec/fixtures/items_2.1/images/MAN.png +0 -0
  60. data/spec/fixtures/items_2.1/images/MCH.png +0 -0
  61. data/spec/fixtures/items_2.1/images/airport.png +0 -0
  62. data/spec/fixtures/items_2.1/images/blueStar.png +0 -0
  63. data/spec/fixtures/items_2.1/images/blue_door.png +0 -0
  64. data/spec/fixtures/items_2.1/images/bus.png +0 -0
  65. data/spec/fixtures/items_2.1/images/castle.png +0 -0
  66. data/spec/fixtures/items_2.1/images/greenTriangle.png +0 -0
  67. data/spec/fixtures/items_2.1/images/green_door.png +0 -0
  68. data/spec/fixtures/items_2.1/images/house.png +0 -0
  69. data/spec/fixtures/items_2.1/images/open_car.png +0 -0
  70. data/spec/fixtures/items_2.1/images/open_goat.png +0 -0
  71. data/spec/fixtures/items_2.1/images/plane.png +0 -0
  72. data/spec/fixtures/items_2.1/images/postcard.eps +3581 -0
  73. data/spec/fixtures/items_2.1/images/postcard.png +0 -0
  74. data/spec/fixtures/items_2.1/images/rectangle.svg +1 -0
  75. data/spec/fixtures/items_2.1/images/redCircle.png +0 -0
  76. data/spec/fixtures/items_2.1/images/red_door.png +0 -0
  77. data/spec/fixtures/items_2.1/images/sign.png +0 -0
  78. data/spec/fixtures/items_2.1/images/survey.jpg +0 -0
  79. data/spec/fixtures/items_2.1/images/train.png +0 -0
  80. data/spec/fixtures/items_2.1/images/uk.png +0 -0
  81. data/spec/fixtures/items_2.1/images/ukair.png +0 -0
  82. data/spec/fixtures/items_2.1/images/ukairtags.png +0 -0
  83. data/spec/fixtures/items_2.1/imsmanifest.xml +227 -0
  84. data/spec/fixtures/items_2.1/inline_choice.xml +26 -0
  85. data/spec/fixtures/items_2.1/inline_choice_math.xml +68 -0
  86. data/spec/fixtures/items_2.1/likert.xml +21 -0
  87. data/spec/fixtures/items_2.1/match.xml +41 -0
  88. data/spec/fixtures/items_2.1/math.xml +35 -0
  89. data/spec/fixtures/items_2.1/mc_calc3.xml +164 -0
  90. data/spec/fixtures/items_2.1/mc_calc5.xml +211 -0
  91. data/spec/fixtures/items_2.1/mc_stat2.xml +219 -0
  92. data/spec/fixtures/items_2.1/media_coords.xml +33 -0
  93. data/spec/fixtures/items_2.1/multi-input.xml +271 -0
  94. data/spec/fixtures/items_2.1/nested_object.xml +26 -0
  95. data/spec/fixtures/items_2.1/order.xml +25 -0
  96. data/spec/fixtures/items_2.1/order_partial_scoring.xml +55 -0
  97. data/spec/fixtures/items_2.1/order_rtl.xml +27 -0
  98. data/spec/fixtures/items_2.1/orkney1.xml +34 -0
  99. data/spec/fixtures/items_2.1/orkney2.xml +34 -0
  100. data/spec/fixtures/items_2.1/position_object.xml +34 -0
  101. data/spec/fixtures/items_2.1/select_point.xml +23 -0
  102. data/spec/fixtures/items_2.1/shared/orkney.css +1 -0
  103. data/spec/fixtures/items_2.1/shared/orkney.html +20 -0
  104. data/spec/fixtures/items_2.1/slider.xml +35 -0
  105. data/spec/fixtures/items_2.1/svg.xml +28 -0
  106. data/spec/fixtures/items_2.1/template.xml +88 -0
  107. data/spec/fixtures/items_2.1/template_image.xml +74 -0
  108. data/spec/fixtures/items_2.1/text_entry.xml +27 -0
  109. data/spec/fixtures/items_2.1/upload.xml +18 -0
  110. data/spec/fixtures/items_2.1/upload_composite.xml +24 -0
  111. data/spec/fixtures/test_qti_1.2.zip +0 -0
  112. data/spec/fixtures/test_qti_1.2/contact info.png +0 -0
  113. data/spec/fixtures/test_qti_1.2/exam1/my_files/org0/images/image.png +0 -0
  114. data/spec/fixtures/test_qti_1.2/exam1/my_files/org1/images/image.png +0 -0
  115. data/spec/fixtures/test_qti_1.2/image.png +0 -0
  116. data/spec/fixtures/test_qti_1.2/imsmanifest.xml +37 -0
  117. data/spec/fixtures/test_qti_1.2/quiz.xml +216 -0
  118. data/spec/fixtures/test_qti_2.1.zip +0 -0
  119. data/spec/fixtures/test_qti_2.1/assessment.xml +77 -0
  120. data/spec/fixtures/test_qti_2.1/imsmanifest.xml +211 -0
  121. data/spec/fixtures/test_qti_2.1/mathassess.xsd +54 -0
  122. data/spec/fixtures/test_qti_2.1/multiple-answer/multiple-answer.xml +31 -0
  123. data/spec/fixtures/test_qti_2.1/multiple-choice/multiple-choice.xml +31 -0
  124. data/spec/fixtures/test_qti_2.1/text-entry/text-entry.xml +330 -0
  125. data/spec/fixtures/test_qti_2.1/true-false/true-false.xml +55 -0
  126. data/spec/fixtures/tests/feedbackTest/assessment.xml +252 -0
  127. data/spec/fixtures/tests/feedbackTest/id-38d47747fb30/Example02-feedbackInline.xml +51 -0
  128. data/spec/fixtures/tests/feedbackTest/id-5e216df10030/Example03-feedbackBlock-solution.xml +199 -0
  129. data/spec/fixtures/tests/feedbackTest/id-9c33d141576e/Example05-feedbackBlock-adaptive.xml +330 -0
  130. data/spec/fixtures/tests/feedbackTest/id-aaa0bbf5da1d/Example03-feedbackBlock-solution-random.xml +223 -0
  131. data/spec/fixtures/tests/feedbackTest/id-d599169403d2/Example04-feedbackBlock-templateBlock.xml +534 -0
  132. data/spec/fixtures/tests/feedbackTest/id-fa3ee5852723/Example01-modalFeedback.xml +55 -0
  133. data/spec/fixtures/tests/feedbackTest/imsmanifest.xml +239 -0
  134. data/spec/fixtures/tests/interactionmix_saxony_v3/Choicemultiple_2014410822.xml +110 -0
  135. data/spec/fixtures/tests/interactionmix_saxony_v3/Choicemultiple_871212949.xml +208 -0
  136. data/spec/fixtures/tests/interactionmix_saxony_v3/Choicesingle_853928446.xml +159 -0
  137. data/spec/fixtures/tests/interactionmix_saxony_v3/Choicetruefalse_176040516.xml +98 -0
  138. data/spec/fixtures/tests/interactionmix_saxony_v3/Hotspot_278940407.xml +109 -0
  139. data/spec/fixtures/tests/interactionmix_saxony_v3/Hottext_801974120.xml +106 -0
  140. data/spec/fixtures/tests/interactionmix_saxony_v3/InteractionMixSachsen_1901710679.xml +54 -0
  141. data/spec/fixtures/tests/interactionmix_saxony_v3/Matchmultiple_1038910213.xml +139 -0
  142. data/spec/fixtures/tests/interactionmix_saxony_v3/Matchsingle_143114773.xml +133 -0
  143. data/spec/fixtures/tests/interactionmix_saxony_v3/Order_913967682.xml +117 -0
  144. data/spec/fixtures/tests/interactionmix_saxony_v3/TextEntry_883368511.xml +114 -0
  145. data/spec/fixtures/tests/interactionmix_saxony_v3/TextEntrynumeric_2040297025.xml +154 -0
  146. data/spec/fixtures/tests/interactionmix_saxony_v3/TextEntrynumeric_770468849.xml +124 -0
  147. data/spec/fixtures/tests/interactionmix_saxony_v3/TextEntrysubset_806481421.xml +227 -0
  148. data/spec/fixtures/tests/interactionmix_saxony_v3/imsmanifest.xml +278 -0
  149. data/spec/fixtures/tests/interactionmix_saxony_v3/media/03c5e2f774db49598deb3ac7d05b53f9.jpg +0 -0
  150. data/spec/fixtures/tests/interactionmix_saxony_v3/media/0563e67fb1bb48ad882e0a5abf2a2686.jpg +0 -0
  151. data/spec/fixtures/tests/interactionmix_saxony_v3/media/2f44366716474a5d8e2a2e32346cbc05.jpg +0 -0
  152. data/spec/fixtures/tests/interactionmix_saxony_v3/media/71a299b50b5e4b1492f8ee51ce25be7d.jpg +0 -0
  153. data/spec/fixtures/tests/interactionmix_saxony_v3/media/a439b702d5034ca38f6df26a12835db3.jpg +0 -0
  154. data/spec/fixtures/tests/interactionmix_saxony_v3/media/b660fc9f268c4ef688d8606116c70160.jpg +0 -0
  155. data/spec/fixtures/tests/interactionmix_saxony_v3/media/c2f541343b9b4bfdba9fc90c7a18403e.jpg +0 -0
  156. data/spec/fixtures/tests/interactionmix_saxony_v3/media/e18b5a2eb8104d0994a182ee0176a05c.jpg +0 -0
  157. data/spec/fixtures/tests/interactionmix_saxony_v3/media/f88c5aa2c6724a388fdbadc7133eb757.jpg +0 -0
  158. data/spec/fixtures/tests/interactionmix_saxony_v3/media/ffe337505ef74334a0cecb33310f99c1.jpg +0 -0
  159. data/spec/fixtures/tests/tests/complete.xml +33 -0
  160. data/spec/fixtures/tests/tests/report.xml +70 -0
  161. data/spec/fixtures/tests/tests/rtest01-fragment.xml +12 -0
  162. data/spec/fixtures/tests/tests/rtest01-set01.xml +17 -0
  163. data/spec/fixtures/tests/tests/rtest01-set02.xml +17 -0
  164. data/spec/fixtures/tests/tests/rtest01-set03.xml +17 -0
  165. data/spec/fixtures/tests/tests/rtest01.xml +16 -0
  166. data/spec/fixtures/tests/tests/rtest02.xml +48 -0
  167. data/spec/fixtures/tests/tests/rtest03.xml +38 -0
  168. data/spec/fixtures/tests/tests/rtest04.xml +50 -0
  169. data/spec/fixtures/tests/tests/rtest06.xml +34 -0
  170. data/spec/fixtures/tests/tests/rtest08.xml +38 -0
  171. data/spec/fixtures/tests/tests/rtest09.xml +33 -0
  172. data/spec/fixtures/tests/tests/rtest10.xml +48 -0
  173. data/spec/fixtures/tests/tests/rtest12.xml +38 -0
  174. data/spec/fixtures/tests/tests/rtest13.xml +62 -0
  175. data/spec/fixtures/tests/tests/rtest22.xml +41 -0
  176. data/spec/fixtures/tests/tests/rtest24.xml +37 -0
  177. data/spec/fixtures/tests/tests/rtest25.xml +62 -0
  178. data/spec/fixtures/tests/tests/rtest26.xml +38 -0
  179. data/spec/fixtures/tests/tests/rtest27.xml +46 -0
  180. data/spec/qti/models/base_spec.rb +71 -0
  181. data/spec/qti/models/manifest_spec.rb +19 -0
  182. data/spec/qti/v1/models/assessment_item_spec.rb +49 -0
  183. data/spec/qti/v1/models/assessment_spec.rb +18 -0
  184. data/spec/qti/v1/models/choices/logical_identifier_choice_spec.rb +23 -0
  185. data/spec/qti/v1/models/interactions/logical_identifier_interaction_spec.rb +20 -0
  186. data/spec/qti/v2/models/assessment_item_spec.rb +67 -0
  187. data/spec/qti/v2/models/assessment_test_spec.rb +60 -0
  188. data/spec/qti/v2/models/choices/simple_choice_spec.rb +22 -0
  189. data/spec/qti/v2/models/interactions/choice_interaction_spec.rb +27 -0
  190. data/spec/qti_spec.rb +38 -0
  191. data/spec/spec_helper.rb +10 -0
  192. metadata +506 -0
@@ -0,0 +1,77 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <assessmentTest xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2"
3
+ xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:m="http://www.w3.org/1998/Math/MathML"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ toolVersion="0.1" toolName="Spectatus" title="Simple Feedback Test"
6
+ identifier="SPECTATUS-GENERATED-TEST"
7
+ xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd">
8
+ <outcomeDeclaration baseType="float" cardinality="single" identifier="TEST_total">
9
+ <defaultValue>
10
+ <value>0.0</value>
11
+ </defaultValue>
12
+ </outcomeDeclaration>
13
+ <outcomeDeclaration baseType="float" cardinality="single" identifier="SECTION_1_total">
14
+ <defaultValue>
15
+ <value>0.0</value>
16
+ </defaultValue>
17
+ </outcomeDeclaration>
18
+ <outcomeDeclaration baseType="identifier" cardinality="single" identifier="s1FB"/>
19
+ <outcomeDeclaration baseType="identifier" cardinality="multiple" identifier="TEST_FEEDBACK"/>
20
+ <testPart submissionMode="simultaneous" navigationMode="nonlinear" identifier="TP">
21
+ <assessmentSection identifier="S1" visible="true" title="Section 1">
22
+ <rubricBlock view="candidate">
23
+ <div>Four examples of feedback, no randomisation</div>
24
+ </rubricBlock>
25
+ <assessmentItemRef identifier="multiple-answer"
26
+ href="multiple-answer/multiple-answer.xml"/>
27
+ <assessmentItemRef identifier="multiple-choice"
28
+ href="multiple-choice/multiple-choice.xml"/>
29
+ <assessmentItemRef identifier="text-entry"
30
+ href="text-entry/text-entry.xml"/>
31
+ <assessmentItemRef identifier="true-false"
32
+ href="true-false/true-false.xml"/>
33
+ </assessmentSection>
34
+ </testPart>
35
+ <outcomeProcessing>
36
+ <setOutcomeValue identifier="SECTION_1_total">
37
+ <sum>
38
+ <testVariables sectionIdentifier="S1" baseType="float" variableIdentifier="SCORE"/>
39
+ </sum>
40
+ </setOutcomeValue>
41
+ <outcomeCondition>
42
+ <outcomeIf>
43
+ <not>
44
+ <lt>
45
+ <variable identifier="SECTION_1_total"/>
46
+ <baseValue baseType="float">40.0</baseValue>
47
+ </lt>
48
+ </not>
49
+ <setOutcomeValue identifier="s1FB">
50
+ <baseValue baseType="identifier">S1-FB-AllOK</baseValue>
51
+ </setOutcomeValue>
52
+ </outcomeIf>
53
+ </outcomeCondition>
54
+ <setOutcomeValue identifier="TEST_total">
55
+ <sum>
56
+ <testVariables baseType="float" variableIdentifier="SCORE"/>
57
+ </sum>
58
+ </setOutcomeValue>
59
+ <setOutcomeValue identifier="TEST_FEEDBACK">
60
+ <multiple>
61
+ <baseValue baseType="identifier">S1_END_FB</baseValue>
62
+ <baseValue baseType="identifier">TEST_FB</baseValue>
63
+ </multiple>
64
+ </setOutcomeValue>
65
+ </outcomeProcessing>
66
+ <testFeedback identifier="TEST_FB" showHide="show" outcomeIdentifier="TEST_FEEDBACK"
67
+ access="atEnd">
68
+ <div>You have reached the end of the test.</div>
69
+ <div>Section 1 score: <printedVariable format="%.1f" identifier="SECTION_1_total"/> (from a
70
+ maximum of 40.0) <feedbackInline outcomeIdentifier="s1FB" identifier="S1-FB-AllOK"
71
+ showHide="show"> All the questions in section 1 were answered
72
+ correctly.</feedbackInline>
73
+ </div>
74
+ <div>Total score: <printedVariable format="%.1f" identifier="TEST_total"/> (from a maximum
75
+ of 40.0)</div>
76
+ </testFeedback>
77
+ </assessmentTest>
@@ -0,0 +1,211 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <manifest xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
3
+ xmlns:imsmd="http://ltsc.ieee.org/xsd/LOM"
4
+ xmlns:imsqti="http://www.imsglobal.org/xsd/imsqti_v2p2"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
+ xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 http://www.imsglobal.org/xsd/qti/qtiv2p2/qtiv2p2_imscpv1p2_v1p0.xsd
7
+ http://ltsc.ieee.org/xsd/LOM http://www.imsglobal.org/xsd/imsmd_loose_v1p3p2.xsd
8
+ http://www.imsglobal.org/xsd/imsqti_metadata_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_metadata_v2p2.xsd"
9
+ identifier="kjhlkh5646">
10
+ <metadata>
11
+ <schema>QTIv2.2 Package</schema>
12
+ <schemaversion>1.0.0</schemaversion>
13
+ <imsmd:lom>
14
+ <imsmd:general>
15
+ <imsmd:identifier><imsmd:entry>FB-02</imsmd:entry></imsmd:identifier>
16
+ <imsmd:title>
17
+ <imsmd:string language="en">Simple Feedback Test</imsmd:string>
18
+ </imsmd:title>
19
+ <imsmd:language>en</imsmd:language>
20
+ <imsmd:description>
21
+ <imsmd:string language="en">Feedback examples which don't use template processing. We still have modal, feedbackBlack, feedbackInline and adaptive with interactions in feedbackBlocks</imsmd:string>
22
+ </imsmd:description>
23
+ <imsmd:keyword>
24
+ <imsmd:string language="en">feedback</imsmd:string>
25
+ </imsmd:keyword>
26
+ <imsmd:keyword>
27
+ <imsmd:string language="en">modal</imsmd:string>
28
+ </imsmd:keyword>
29
+ <imsmd:keyword>
30
+ <imsmd:string language="en">test</imsmd:string>
31
+ </imsmd:keyword>
32
+ <imsmd:keyword>
33
+ <imsmd:string language="en">inline</imsmd:string>
34
+ </imsmd:keyword>
35
+ <imsmd:keyword>
36
+ <imsmd:string language="en">block</imsmd:string>
37
+ </imsmd:keyword>
38
+ </imsmd:general>
39
+ <imsmd:lifeCycle>
40
+ <imsmd:contribute>
41
+ <imsmd:role>
42
+ <imsmd:source>LOMv1.0</imsmd:source>
43
+ <imsmd:value>Creator</imsmd:value>
44
+ </imsmd:role>
45
+ <imsmd:entity>
46
+ BEGIN:VCARD FN:Sue Milne END:VCARD
47
+ </imsmd:entity>
48
+ <imsmd:date>
49
+ <imsmd:dateTime>2012-05-18</imsmd:dateTime>
50
+ <imsmd:description>
51
+ <imsmd:string language="en"/>
52
+ </imsmd:description>
53
+ </imsmd:date>
54
+ </imsmd:contribute>
55
+ <imsmd:contribute>
56
+ <imsmd:role>
57
+ <imsmd:source>LOMv1.0</imsmd:source>
58
+ <imsmd:value>Editor</imsmd:value>
59
+ </imsmd:role>
60
+ <imsmd:entity>
61
+ BEGIN:VCARD FN:FETLAR END:VCARD
62
+ </imsmd:entity>
63
+ <imsmd:date>
64
+ <imsmd:dateTime>2012-05-18</imsmd:dateTime>
65
+ <imsmd:description>
66
+ <imsmd:string language="en"/>
67
+ </imsmd:description>
68
+ </imsmd:date>
69
+ </imsmd:contribute>
70
+ </imsmd:lifeCycle>
71
+ <imsmd:metaMetadata>
72
+ <imsmd:identifier><imsmd:entry>urn:www.fetlar.ac.uk:dbf602fa-6357-4f11-8c9c-29181f4d2934</imsmd:entry></imsmd:identifier>
73
+ <imsmd:contribute>
74
+ <imsmd:role>
75
+ <imsmd:source>LOMv1.0</imsmd:source>
76
+ <imsmd:value>Creator</imsmd:value>
77
+ </imsmd:role>
78
+ <imsmd:entity>
79
+ BEGIN:VCARD FN:FETLAR END:VCARD
80
+ </imsmd:entity>
81
+ </imsmd:contribute>
82
+ <imsmd:metadataschema>LOMv1.0</imsmd:metadataschema>
83
+ <imsmd:metadataschema>JORUMv1.0</imsmd:metadataschema>
84
+ <imsmd:language>en</imsmd:language>
85
+ </imsmd:metaMetadata>
86
+ <imsmd:technical>
87
+ <imsmd:format>text/x-imsqti-test-xml</imsmd:format>
88
+ <imsmd:size>34311</imsmd:size>
89
+ <imsmd:location/>
90
+ <imsmd:otherPlatformRequirements>
91
+ <imsmd:string language="en">QTIv2.2</imsmd:string>
92
+ </imsmd:otherPlatformRequirements>
93
+ </imsmd:technical>
94
+ <imsmd:educational>
95
+ <imsmd:learningResourceType>
96
+ <imsmd:source>RDNLTSNType</imsmd:source>
97
+ <imsmd:value>ExaminationTest</imsmd:value>
98
+ </imsmd:learningResourceType>
99
+ <imsmd:context>
100
+ <imsmd:source>LOMv1.0</imsmd:source>
101
+ <imsmd:value>higher education</imsmd:value>
102
+ </imsmd:context>
103
+ <imsmd:description>
104
+ <imsmd:string>A test</imsmd:string>
105
+ </imsmd:description>
106
+ <imsmd:language>en</imsmd:language>
107
+ </imsmd:educational>
108
+ <imsmd:rights>
109
+ <imsmd:copyrightAndOtherRestrictions>
110
+ <imsmd:source>LOMv1.0</imsmd:source>
111
+ <imsmd:value>yes</imsmd:value>
112
+ </imsmd:copyrightAndOtherRestrictions>
113
+ <imsmd:description>
114
+ <imsmd:string language="en">{{CC-URL}}</imsmd:string>
115
+ </imsmd:description>
116
+ </imsmd:rights>
117
+ <imsmd:classification>
118
+ <imsmd:purpose>
119
+ <imsmd:source>LOMv1.0</imsmd:source>
120
+ <imsmd:value>Discipline</imsmd:value>
121
+ </imsmd:purpose>
122
+ <imsmd:taxonPath>
123
+ <imsmd:source><imsmd:string>jacs</imsmd:string></imsmd:source>
124
+ <imsmd:taxon>
125
+ <imsmd:id>G1</imsmd:id>
126
+ <imsmd:entry>
127
+ <imsmd:string language="en">Mathematics</imsmd:string>
128
+ </imsmd:entry>
129
+ </imsmd:taxon>
130
+ </imsmd:taxonPath>
131
+ </imsmd:classification>
132
+ <imsmd:classification>
133
+ <imsmd:purpose>
134
+ <imsmd:source>LOMv1.0</imsmd:source>
135
+ <imsmd:value>Educational Level</imsmd:value>
136
+ </imsmd:purpose>
137
+ <imsmd:taxonPath>
138
+ <imsmd:source><imsmd:string>UKEL</imsmd:string></imsmd:source>
139
+ <imsmd:taxon>
140
+ <imsmd:id>ukel10</imsmd:id>
141
+ <imsmd:entry>
142
+ <imsmd:string language="en">UK Educational Level 10</imsmd:string>
143
+ </imsmd:entry>
144
+ </imsmd:taxon>
145
+ </imsmd:taxonPath>
146
+ </imsmd:classification>
147
+ </imsmd:lom>
148
+ </metadata>
149
+ <organizations />
150
+ <resources>
151
+ <resource href="assessment.xml" type="imsqti_test_xmlv2p2" identifier="TEST">
152
+ <file href="assessment.xml"/>
153
+ <dependency identifierref="id-53a79b001624"/>
154
+ <dependency identifierref="id-b0dd9e732083"/>
155
+ <dependency identifierref="id-a360e0fa63e6"/>
156
+ <dependency identifierref="id-692fc07cc3e2"/>
157
+ </resource>
158
+ <resource href="id-53a79b001624/Example01-modalFeedback.xml" type="imsqti_item_xmlv2p2"
159
+ identifier="id-53a79b001624">
160
+ <metadata>
161
+ <imsmd:lom>
162
+ <imsmd:general>
163
+ <imsmd:description>
164
+ <imsmd:string language="en">This question is an XML file imported into Spectatus.</imsmd:string>
165
+ </imsmd:description>
166
+ </imsmd:general>
167
+ </imsmd:lom>
168
+ </metadata>
169
+ <file href="id-53a79b001624/Example01-modalFeedback.xml"/>
170
+ </resource>
171
+ <resource href="id-b0dd9e732083/Example02-feedbackInline.xml" type="imsqti_item_xmlv2p2"
172
+ identifier="id-b0dd9e732083">
173
+ <metadata>
174
+ <imsmd:lom>
175
+ <imsmd:general>
176
+ <imsmd:description>
177
+ <imsmd:string language="en">This question is an XML file imported into Spectatus.</imsmd:string>
178
+ </imsmd:description>
179
+ </imsmd:general>
180
+ </imsmd:lom>
181
+ </metadata>
182
+ <file href="id-b0dd9e732083/Example02-feedbackInline.xml"/>
183
+ </resource>
184
+ <resource href="id-a360e0fa63e6/Example03-feedbackBlock-solution.xml"
185
+ type="imsqti_item_xmlv2p2" identifier="id-a360e0fa63e6">
186
+ <metadata>
187
+ <imsmd:lom>
188
+ <imsmd:general>
189
+ <imsmd:description>
190
+ <imsmd:string language="en">This question is an XML file imported into Spectatus.</imsmd:string>
191
+ </imsmd:description>
192
+ </imsmd:general>
193
+ </imsmd:lom>
194
+ </metadata>
195
+ <file href="id-a360e0fa63e6/Example03-feedbackBlock-solution.xml"/>
196
+ </resource>
197
+ <resource href="id-692fc07cc3e2/Example05-feedbackBlock-adaptive.xml"
198
+ type="imsqti_item_xmlv2p2" identifier="id-692fc07cc3e2">
199
+ <metadata>
200
+ <imsmd:lom>
201
+ <imsmd:general>
202
+ <imsmd:description>
203
+ <imsmd:string language="en">This question is an XML file imported into Spectatus.</imsmd:string>
204
+ </imsmd:description>
205
+ </imsmd:general>
206
+ </imsmd:lom>
207
+ </metadata>
208
+ <file href="id-692fc07cc3e2/Example05-feedbackBlock-adaptive.xml"/>
209
+ </resource>
210
+ </resources>
211
+ </manifest>
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <xsd:schema xmlns="http://mathassess.qtitools.org/xsd/mathassess"
3
+ xmlns:qti="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xi="http://www.w3.org/2001/XInclude"
4
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mathassess.qtitools.org/xsd/mathassess">
5
+
6
+ <xsd:import namespace="http://www.imsglobal.org/xsd/imsqti_v2p1"
7
+ schemaLocation="imsqti_v2p1.xsd" />
8
+
9
+ <!-- Enumeration: textFormat -->
10
+
11
+ <xsd:simpleType name="casType">
12
+ <xsd:restriction base="xsd:string">
13
+ <xsd:enumeration value="text/x-maxima" />
14
+ </xsd:restriction>
15
+ </xsd:simpleType>
16
+
17
+ <xsd:simpleType name="returnTypeCard">
18
+ <xsd:restriction base="xsd:string">
19
+ <xsd:enumeration value="mathsContent" />
20
+ <xsd:enumeration value="integer" />
21
+ <xsd:enumeration value="integerMultiple" />
22
+ <xsd:enumeration value="integerOrdered" />
23
+ <xsd:enumeration value="float" />
24
+ <xsd:enumeration value="floatMultiple" />
25
+ <xsd:enumeration value="floatOrdered" />
26
+ <xsd:enumeration value="boolean" />
27
+ <xsd:enumeration value="booleanMultiple" />
28
+ <xsd:enumeration value="booleanOrdered" />
29
+ </xsd:restriction>
30
+ </xsd:simpleType>
31
+
32
+ <xsd:simpleType name="actionType">
33
+ <xsd:restriction base="xsd:string">
34
+ <xsd:enumeration value="equal" />
35
+ <xsd:enumeration value="syntequal" />
36
+ <xsd:enumeration value="code" />
37
+ </xsd:restriction>
38
+ </xsd:simpleType>
39
+
40
+ <xsd:simpleType name="simplifyType">
41
+ <xsd:restriction base="xsd:string">
42
+ <xsd:pattern value="true|false" />
43
+ </xsd:restriction>
44
+ </xsd:simpleType>
45
+
46
+ <xsd:attribute name="syntax" type="casType" />
47
+ <xsd:attribute name="returnType" type="returnTypeCard" />
48
+ <xsd:attribute name="action" type="actionType" />
49
+ <xsd:attribute name="code" type="xsd:string" />
50
+ <xsd:attribute name="simplify" type="simplifyType" />
51
+ <xsd:attribute name="expectedLength" type="xsd:integer" />
52
+ <xsd:attribute name="printIdentifier" type="qti:identifier.Type" />
53
+
54
+ </xsd:schema>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd"
5
+ identifier="multiple-answer" title="Composition of Water" adaptive="false" timeDependent="false">
6
+ <responseDeclaration identifier="RESPONSE" cardinality="multiple" baseType="identifier">
7
+ <correctResponse>
8
+ <value>H</value>
9
+ <value>O</value>
10
+ </correctResponse>
11
+ <mapping lowerBound="0" upperBound="2" defaultValue="-2">
12
+ <mapEntry mapKey="H" mappedValue="1"/>
13
+ <mapEntry mapKey="O" mappedValue="1"/>
14
+ <mapEntry mapKey="Cl" mappedValue="-1"/>
15
+ </mapping>
16
+ </responseDeclaration>
17
+ <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float" normalMaximum="1.0"/>
18
+ <itemBody>
19
+ <choiceInteraction responseIdentifier="RESPONSE" shuffle="true" maxChoices="0">
20
+ <prompt>Which of the following elements are used to form water?</prompt>
21
+ <simpleChoice identifier="H" fixed="false">Hydrogen</simpleChoice>
22
+ <simpleChoice identifier="He" fixed="false">Helium</simpleChoice>
23
+ <simpleChoice identifier="C" fixed="false">Carbon</simpleChoice>
24
+ <simpleChoice identifier="O" fixed="false">Oxygen</simpleChoice>
25
+ <simpleChoice identifier="N" fixed="false">Nitrogen</simpleChoice>
26
+ <simpleChoice identifier="Cl" fixed="false">Chlorine</simpleChoice>
27
+ </choiceInteraction>
28
+ </itemBody>
29
+ <responseProcessing
30
+ template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/map_response"/>
31
+ </assessmentItem>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Thie example adapted from the PET Handbook, copyright University of Cambridge ESOL Examinations -->
3
+ <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd"
6
+ identifier="choice" title="Unattended Luggage" adaptive="false" timeDependent="false">
7
+ <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
8
+ <correctResponse>
9
+ <value>ChoiceA</value>
10
+ </correctResponse>
11
+ </responseDeclaration>
12
+ <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float" normalMaximum="1.0">
13
+ <defaultValue>
14
+ <value>0</value>
15
+ </defaultValue>
16
+ </outcomeDeclaration>
17
+ <itemBody>
18
+ <p>Look at the text in the picture.</p>
19
+ <p>
20
+ <img src="images/sign.png" alt="NEVER LEAVE LUGGAGE UNATTENDED"/>
21
+ </p>
22
+ <choiceInteraction responseIdentifier="RESPONSE" shuffle="false" maxChoices="1">
23
+ <prompt>What does it say?</prompt>
24
+ <simpleChoice identifier="ChoiceA">You must stay with your luggage at all times.</simpleChoice>
25
+ <simpleChoice identifier="ChoiceB">Do not let someone else look after your luggage.</simpleChoice>
26
+ <simpleChoice identifier="ChoiceC">Remember your luggage when you leave.</simpleChoice>
27
+ </choiceInteraction>
28
+ </itemBody>
29
+ <responseProcessing
30
+ template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/match_correct"/>
31
+ </assessmentItem>
@@ -0,0 +1,330 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <assessmentItem toolVersion="0.5.1" toolName="Mathqurate" title="Adaptive - choice of input type"
3
+ timeDependent="false" identifier="Example05-feedbackBlock-adaptive" adaptive="true"
4
+ xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd"
5
+ xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2" xmlns:xi="http://www.w3.org/2001/XInclude"
6
+ xmlns:m="http://www.w3.org/1998/Math/MathML"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8
+ <responseDeclaration identifier="RESPONSE1" cardinality="single" baseType="identifier"/>
9
+ <responseDeclaration identifier="RESPONSE21" cardinality="single" baseType="identifier">
10
+ <correctResponse>
11
+ <value>OPTION210</value>
12
+ </correctResponse>
13
+ </responseDeclaration>
14
+ <responseDeclaration identifier="RESPONSE22" cardinality="single" baseType="identifier">
15
+ <correctResponse>
16
+ <value>OPTION221</value>
17
+ </correctResponse>
18
+ </responseDeclaration>
19
+ <responseDeclaration identifier="RESPONSE23" cardinality="single" baseType="identifier">
20
+ <correctResponse>
21
+ <value>OPTION231</value>
22
+ </correctResponse>
23
+ </responseDeclaration>
24
+ <responseDeclaration identifier="RESPONSE24" cardinality="single" baseType="identifier">
25
+ <correctResponse>
26
+ <value>OPTION241</value>
27
+ </correctResponse>
28
+ </responseDeclaration>
29
+ <responseDeclaration identifier="RESPONSE25" cardinality="single" baseType="string">
30
+ <correctResponse>
31
+ <value>cooks</value>
32
+ </correctResponse>
33
+ </responseDeclaration>
34
+ <responseDeclaration identifier="RESPONSE26" cardinality="single" baseType="string">
35
+ <correctResponse>
36
+ <value>spoil</value>
37
+ </correctResponse>
38
+ </responseDeclaration>
39
+ <responseDeclaration identifier="RESPONSE27" cardinality="single" baseType="string">
40
+ <correctResponse>
41
+ <value>broth</value>
42
+ </correctResponse>
43
+ </responseDeclaration>
44
+ <outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE"
45
+ normalMaximum="10.0" normalMinimum="0.0">
46
+ <defaultValue>
47
+ <value>0.0</value>
48
+ </defaultValue>
49
+ </outcomeDeclaration>
50
+ <outcomeDeclaration baseType="identifier" cardinality="single" identifier="FEEDBACK"/>
51
+ <outcomeDeclaration baseType="identifier" cardinality="multiple" identifier="BODY">
52
+ <defaultValue>
53
+ <value>part1</value>
54
+ </defaultValue>
55
+ </outcomeDeclaration>
56
+ <itemBody class="">
57
+ <div class="">
58
+ <feedbackBlock id="feedbackBlock0" identifier="part1" outcomeIdentifier="BODY" showHide="show">
59
+ <p>This is the first part of this question: Which of these input methods do you wish to use?</p>
60
+ <choiceInteraction id="choiceInteraction0" maxChoices="1" responseIdentifier="RESPONSE1" shuffle="true">
61
+ <simpleChoice id="simpleChoice0" identifier="OPTION1">Multiple choice </simpleChoice>
62
+ <simpleChoice id="simpleChoice1" identifier="OPTION2">Drop-down menu </simpleChoice>
63
+ <simpleChoice id="simpleChoice2" identifier="OPTION3">Typed input </simpleChoice>
64
+ </choiceInteraction>
65
+ </feedbackBlock>
66
+ <feedbackBlock identifier="part2" outcomeIdentifier="BODY" showHide="show">
67
+ <p>OK, this is the type of input you have chosen. Now please answer this, the second part of the question.</p>
68
+ </feedbackBlock>
69
+ <feedbackBlock identifier="option1" outcomeIdentifier="BODY" showHide="show">
70
+ <p class="">Choose the correct saying:</p>
71
+ <choiceInteraction maxChoices="1" responseIdentifier="RESPONSE21" shuffle="true">
72
+ <simpleChoice identifier="OPTION210">Too many cooks spoil the broth</simpleChoice>
73
+ <simpleChoice identifier="OPTION211">Too many cooks burn the dinner</simpleChoice>
74
+ <simpleChoice identifier="OPTION212">Too many children spill the broth</simpleChoice>
75
+ <simpleChoice identifier="OPTION213">Too many hands spill the beans</simpleChoice>
76
+ <simpleChoice identifier="OPTION214">Too many children spoil the broth</simpleChoice>
77
+ </choiceInteraction>
78
+ </feedbackBlock>
79
+ <feedbackBlock identifier="option2" outcomeIdentifier="BODY" showHide="show">
80
+ <p class="">Complete the saying below by selecting from the lists:</p>
81
+ <p class="">Too many&#160;
82
+ <inlineChoiceInteraction responseIdentifier="RESPONSE22" shuffle="true">
83
+ <inlineChoice identifier="OPTION221">cooks</inlineChoice>
84
+ <inlineChoice identifier="OPTION222">children</inlineChoice>
85
+ <inlineChoice identifier="OPTION223">hands</inlineChoice>
86
+ </inlineChoiceInteraction>&#160;
87
+ <inlineChoiceInteraction responseIdentifier="RESPONSE23" shuffle="true">
88
+ <inlineChoice identifier="OPTION231">spoil</inlineChoice>
89
+ <inlineChoice identifier="OPTION232">spill</inlineChoice>
90
+ <inlineChoice identifier="OPTION233">burn</inlineChoice>
91
+ </inlineChoiceInteraction> the&#160;
92
+ <inlineChoiceInteraction responseIdentifier="RESPONSE24" shuffle="true">
93
+ <inlineChoice identifier="OPTION241">broth</inlineChoice>
94
+ <inlineChoice identifier="OPTION242">dinner</inlineChoice>
95
+ <inlineChoice identifier="OPTION243">beans</inlineChoice>
96
+ </inlineChoiceInteraction>.
97
+ </p>
98
+ </feedbackBlock>
99
+ <feedbackBlock identifier="option3" outcomeIdentifier="BODY" showHide="show">
100
+ <p class="">Complete the saying below:</p>
101
+ <p class="">Too many&#160;
102
+ <textEntryInteraction expectedLength="20" responseIdentifier="RESPONSE25"/>&#160;
103
+ <textEntryInteraction expectedLength="20" responseIdentifier="RESPONSE26"/> the&#160;
104
+ <textEntryInteraction expectedLength="20" responseIdentifier="RESPONSE27"/>.
105
+ </p>
106
+ </feedbackBlock>
107
+ <div class="">
108
+ <feedbackInline id="feedbackInline1" identifier="CORRECT" outcomeIdentifier="FEEDBACK"
109
+ showHide="show"> That's the correct answer. </feedbackInline>
110
+ <feedbackInline id="feedbackInline2" identifier="PARTIAL" outcomeIdentifier="FEEDBACK"
111
+ showHide="show"> Your answer is partially correct; the correct answer is "Too many <b>cooks</b> <b>spoil</b> the <b>broth</b>". </feedbackInline>
112
+ <feedbackInline id="feedbackInline3" identifier="INCORRECT" outcomeIdentifier="FEEDBACK"
113
+ showHide="show"> Sorry, that's not correct; the correct answer is "Too many <b>cooks</b> <b>spoil</b> the <b>broth</b>". </feedbackInline>
114
+ </div>
115
+ </div>
116
+ </itemBody>
117
+ <responseProcessing>
118
+ <responseCondition>
119
+ <responseIf>
120
+ <member>
121
+ <baseValue baseType="identifier">part1</baseValue>
122
+ <variable identifier="BODY"/>
123
+ </member>
124
+ <setOutcomeValue identifier="BODY">
125
+ <multiple>
126
+ <baseValue baseType="identifier">part2</baseValue>
127
+ </multiple>
128
+ </setOutcomeValue>
129
+ <responseCondition>
130
+ <responseIf>
131
+ <match>
132
+ <variable identifier="RESPONSE1"/>
133
+ <baseValue baseType="identifier">OPTION1</baseValue>
134
+ </match>
135
+ <setOutcomeValue identifier="BODY">
136
+ <multiple>
137
+ <variable identifier="BODY"/>
138
+ <baseValue baseType="identifier">option1</baseValue>
139
+ </multiple>
140
+ </setOutcomeValue>
141
+ </responseIf>
142
+ <responseElseIf>
143
+ <match>
144
+ <variable identifier="RESPONSE1"/>
145
+ <baseValue baseType="identifier">OPTION2</baseValue>
146
+ </match>
147
+ <setOutcomeValue identifier="BODY">
148
+ <multiple>
149
+ <variable identifier="BODY"/>
150
+ <baseValue baseType="identifier">option2</baseValue>
151
+ </multiple>
152
+ </setOutcomeValue>
153
+ </responseElseIf>
154
+ <responseElseIf>
155
+ <match>
156
+ <variable identifier="RESPONSE1"/>
157
+ <baseValue baseType="identifier">OPTION3</baseValue>
158
+ </match>
159
+ <setOutcomeValue identifier="BODY">
160
+ <multiple>
161
+ <variable identifier="BODY"/>
162
+ <baseValue baseType="identifier">option3</baseValue>
163
+ </multiple>
164
+ </setOutcomeValue>
165
+ </responseElseIf>
166
+ </responseCondition>
167
+ </responseIf>
168
+ <responseElseIf>
169
+ <member>
170
+ <baseValue baseType="identifier">part2</baseValue>
171
+ <variable identifier="BODY"/>
172
+ </member>
173
+ <responseCondition>
174
+ <responseIf>
175
+ <member>
176
+ <baseValue baseType="identifier">option1</baseValue>
177
+ <variable identifier="BODY"/>
178
+ </member>
179
+ <responseCondition>
180
+ <responseIf>
181
+ <match>
182
+ <variable identifier="RESPONSE21"/>
183
+ <correct identifier="RESPONSE21"/>
184
+ </match>
185
+ <setOutcomeValue identifier="FEEDBACK">
186
+ <baseValue baseType="identifier">CORRECT</baseValue>
187
+ </setOutcomeValue>
188
+ <setOutcomeValue identifier="SCORE">
189
+ <baseValue baseType="float">10.0</baseValue>
190
+ </setOutcomeValue>
191
+ </responseIf>
192
+ <responseElse>
193
+ <setOutcomeValue identifier="FEEDBACK">
194
+ <baseValue baseType="identifier">INCORRECT</baseValue>
195
+ </setOutcomeValue>
196
+ <setOutcomeValue identifier="SCORE">
197
+ <baseValue baseType="float">0.0</baseValue>
198
+ </setOutcomeValue>
199
+ </responseElse>
200
+ </responseCondition>
201
+ </responseIf>
202
+ <responseElseIf>
203
+ <member>
204
+ <baseValue baseType="identifier">option2</baseValue>
205
+ <variable identifier="BODY"/>
206
+ </member>
207
+ <responseCondition>
208
+ <responseIf>
209
+ <and>
210
+ <match>
211
+ <variable identifier="RESPONSE22"/>
212
+ <correct identifier="RESPONSE22"/>
213
+ </match>
214
+ <match>
215
+ <variable identifier="RESPONSE23"/>
216
+ <correct identifier="RESPONSE23"/>
217
+ </match>
218
+ <match>
219
+ <variable identifier="RESPONSE24"/>
220
+ <correct identifier="RESPONSE24"/>
221
+ </match>
222
+ </and>
223
+ <setOutcomeValue identifier="FEEDBACK">
224
+ <baseValue baseType="identifier">CORRECT</baseValue>
225
+ </setOutcomeValue>
226
+ <setOutcomeValue identifier="SCORE">
227
+ <baseValue baseType="float">10.0</baseValue>
228
+ </setOutcomeValue>
229
+ </responseIf>
230
+ <responseElseIf>
231
+ <or>
232
+ <match>
233
+ <variable identifier="RESPONSE22"/>
234
+ <correct identifier="RESPONSE22"/>
235
+ </match>
236
+ <match>
237
+ <variable identifier="RESPONSE23"/>
238
+ <correct identifier="RESPONSE23"/>
239
+ </match>
240
+ <match>
241
+ <variable identifier="RESPONSE24"/>
242
+ <correct identifier="RESPONSE24"/>
243
+ </match>
244
+ </or>
245
+ <setOutcomeValue identifier="FEEDBACK">
246
+ <baseValue baseType="identifier">PARTIAL</baseValue>
247
+ </setOutcomeValue>
248
+ <setOutcomeValue identifier="SCORE">
249
+ <baseValue baseType="float">5.0</baseValue>
250
+ </setOutcomeValue>
251
+ </responseElseIf>
252
+ <responseElse>
253
+ <setOutcomeValue identifier="FEEDBACK">
254
+ <baseValue baseType="identifier">INCORRECT</baseValue>
255
+ </setOutcomeValue>
256
+ <setOutcomeValue identifier="SCORE">
257
+ <baseValue baseType="float">0.0</baseValue>
258
+ </setOutcomeValue>
259
+ </responseElse>
260
+ </responseCondition>
261
+ </responseElseIf>
262
+ <responseElseIf>
263
+ <member>
264
+ <baseValue baseType="identifier">option3</baseValue>
265
+ <variable identifier="BODY"/>
266
+ </member>
267
+ <responseCondition>
268
+ <responseIf>
269
+ <and>
270
+ <match>
271
+ <variable identifier="RESPONSE25"/>
272
+ <correct identifier="RESPONSE25"/>
273
+ </match>
274
+ <match>
275
+ <variable identifier="RESPONSE26"/>
276
+ <correct identifier="RESPONSE26"/>
277
+ </match>
278
+ <match>
279
+ <variable identifier="RESPONSE27"/>
280
+ <correct identifier="RESPONSE27"/>
281
+ </match>
282
+ </and>
283
+ <setOutcomeValue identifier="FEEDBACK">
284
+ <baseValue baseType="identifier">CORRECT</baseValue>
285
+ </setOutcomeValue>
286
+ <setOutcomeValue identifier="SCORE">
287
+ <baseValue baseType="float">10.0</baseValue>
288
+ </setOutcomeValue>
289
+ </responseIf>
290
+ <responseElseIf>
291
+ <or>
292
+ <match>
293
+ <variable identifier="RESPONSE25"/>
294
+ <correct identifier="RESPONSE25"/>
295
+ </match>
296
+ <match>
297
+ <variable identifier="RESPONSE26"/>
298
+ <correct identifier="RESPONSE26"/>
299
+ </match>
300
+ <match>
301
+ <variable identifier="RESPONSE27"/>
302
+ <correct identifier="RESPONSE27"/>
303
+ </match>
304
+ </or>
305
+ <setOutcomeValue identifier="FEEDBACK">
306
+ <baseValue baseType="identifier">PARTIAL</baseValue>
307
+ </setOutcomeValue>
308
+ <setOutcomeValue identifier="SCORE">
309
+ <baseValue baseType="float">5.0</baseValue>
310
+ </setOutcomeValue>
311
+ </responseElseIf>
312
+ <responseElse>
313
+ <setOutcomeValue identifier="FEEDBACK">
314
+ <baseValue baseType="identifier">INCORRECT</baseValue>
315
+ </setOutcomeValue>
316
+ <setOutcomeValue identifier="SCORE">
317
+ <baseValue baseType="float">0.0</baseValue>
318
+ </setOutcomeValue>
319
+ </responseElse>
320
+ </responseCondition>
321
+ </responseElseIf>
322
+ </responseCondition>
323
+ <!-- completionStatus must be specifically set to completed in adaptive questions -->
324
+ <setOutcomeValue identifier="completionStatus">
325
+ <baseValue baseType="identifier">completed</baseValue>
326
+ </setOutcomeValue>
327
+ </responseElseIf>
328
+ </responseCondition>
329
+ </responseProcessing>
330
+ </assessmentItem>