qti 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/lib/qti/models/base.rb +16 -0
  3. data/lib/qti/version.rb +1 -1
  4. data/spec/fixtures/mathml/numeric_1.2.xml +93 -0
  5. data/spec/gemfiles/nokogiri-1.6.gemfile.lock +16 -12
  6. data/spec/gemfiles/nokogiri-1.8.gemfile.lock +14 -10
  7. data/spec/lib/qti/models/base_spec.rb +18 -5
  8. metadata +19 -263
  9. data/spec/fixtures/certica/images/145222.jpg +0 -0
  10. data/spec/fixtures/certica/images/151492.jpg +0 -0
  11. data/spec/fixtures/certica/images/152778.jpg +0 -0
  12. data/spec/fixtures/certica/images/161098.jpg +0 -0
  13. data/spec/fixtures/certica/images/162043.jpg +0 -0
  14. data/spec/fixtures/certica/images/162044.jpg +0 -0
  15. data/spec/fixtures/certica/images/174455.jpg +0 -0
  16. data/spec/fixtures/certica/images/180170.jpg +0 -0
  17. data/spec/fixtures/certica/images/182122.jpg +0 -0
  18. data/spec/fixtures/certica/images/182649.jpg +0 -0
  19. data/spec/fixtures/certica/images/186287.png +0 -0
  20. data/spec/fixtures/certica/images/186288.png +0 -0
  21. data/spec/fixtures/certica/images/186289.png +0 -0
  22. data/spec/fixtures/certica/images/186747.jpg +0 -0
  23. data/spec/fixtures/certica/images/187382.png +0 -0
  24. data/spec/fixtures/certica/images/187383.png +0 -0
  25. data/spec/fixtures/certica/images/187384.png +0 -0
  26. data/spec/fixtures/certica/images/187593.png +0 -0
  27. data/spec/fixtures/certica/images/194343.jpg +0 -0
  28. data/spec/fixtures/certica/images/194354.png +0 -0
  29. data/spec/fixtures/certica/imsmanifest.xml +0 -1
  30. data/spec/fixtures/certica/passages/4336.htm +0 -1
  31. data/spec/fixtures/certica/passages/6428.htm +0 -2
  32. data/spec/fixtures/certica/passages/6546.htm +0 -1
  33. data/spec/fixtures/certica/qti_013823.xml +0 -1
  34. data/spec/fixtures/certica/qti_037457.xml +0 -1
  35. data/spec/fixtures/certica/qti_037468.xml +0 -1
  36. data/spec/fixtures/certica/qti_037478.xml +0 -1
  37. data/spec/fixtures/certica/qti_037498.xml +0 -1
  38. data/spec/fixtures/certica/qti_037995.xml +0 -1
  39. data/spec/fixtures/certica/qti_038003.xml +0 -1
  40. data/spec/fixtures/certica/qti_038630.xml +0 -1
  41. data/spec/fixtures/certica/qti_038881.xml +0 -1
  42. data/spec/fixtures/certica/qti_038907.xml +0 -1
  43. data/spec/fixtures/certica/qti_039251.xml +0 -1
  44. data/spec/fixtures/certica/qti_039354.xml +0 -1
  45. data/spec/fixtures/certica/qti_039441.xml +0 -1
  46. data/spec/fixtures/certica/qti_204657.xml +0 -1
  47. data/spec/fixtures/certica/qti_213769.xml +0 -4
  48. data/spec/fixtures/certica/qti_215227.xml +0 -6
  49. data/spec/fixtures/certica/qti_217622.xml +0 -1
  50. data/spec/fixtures/certica/qti_227383.xml +0 -1
  51. data/spec/fixtures/certica/qti_227419.xml +0 -1
  52. data/spec/fixtures/certica/qti_228253.xml +0 -1
  53. data/spec/fixtures/certica/qti_228444.xml +0 -1
  54. data/spec/fixtures/certica/qti_228820.xml +0 -1
  55. data/spec/fixtures/certica/qti_229874.xml +0 -1
  56. data/spec/fixtures/certica/qti_400240.xml +0 -1
  57. data/spec/fixtures/certica/qti_600842.xml +0 -1
  58. data/spec/fixtures/certica/qti_600940.xml +0 -1
  59. data/spec/fixtures/certica/qti_EMP000001.xml +0 -1
  60. data/spec/fixtures/certica/qti_LBS10884.xml +0 -4
  61. data/spec/fixtures/certica/qti_MMP000006.xml +0 -3
  62. data/spec/fixtures/certica/qti_MMP000007.xml +0 -9
  63. data/spec/fixtures/certica/stylesheet/scip.css +0 -42
  64. data/spec/fixtures/test_qti_2.1.check/images/145222.jpg +0 -0
  65. data/spec/fixtures/test_qti_2.1.check/images/151492.jpg +0 -0
  66. data/spec/fixtures/test_qti_2.1.check/images/152778.jpg +0 -0
  67. data/spec/fixtures/test_qti_2.1.check/images/161098.jpg +0 -0
  68. data/spec/fixtures/test_qti_2.1.check/images/162043.jpg +0 -0
  69. data/spec/fixtures/test_qti_2.1.check/images/162044.jpg +0 -0
  70. data/spec/fixtures/test_qti_2.1.check/images/174455.jpg +0 -0
  71. data/spec/fixtures/test_qti_2.1.check/images/180170.jpg +0 -0
  72. data/spec/fixtures/test_qti_2.1.check/images/182122.jpg +0 -0
  73. data/spec/fixtures/test_qti_2.1.check/images/182649.jpg +0 -0
  74. data/spec/fixtures/test_qti_2.1.check/images/186287.png +0 -0
  75. data/spec/fixtures/test_qti_2.1.check/images/186288.png +0 -0
  76. data/spec/fixtures/test_qti_2.1.check/images/186289.png +0 -0
  77. data/spec/fixtures/test_qti_2.1.check/images/186747.jpg +0 -0
  78. data/spec/fixtures/test_qti_2.1.check/images/187382.png +0 -0
  79. data/spec/fixtures/test_qti_2.1.check/images/187383.png +0 -0
  80. data/spec/fixtures/test_qti_2.1.check/images/187384.png +0 -0
  81. data/spec/fixtures/test_qti_2.1.check/images/187593.png +0 -0
  82. data/spec/fixtures/test_qti_2.1.check/images/194343.jpg +0 -0
  83. data/spec/fixtures/test_qti_2.1.check/images/194354.png +0 -0
  84. data/spec/fixtures/test_qti_2.1.check/imsmanifest.xml +0 -1
  85. data/spec/fixtures/test_qti_2.1.check/passages/4336.htm +0 -1
  86. data/spec/fixtures/test_qti_2.1.check/passages/6428.htm +0 -2
  87. data/spec/fixtures/test_qti_2.1.check/passages/6546.htm +0 -1
  88. data/spec/fixtures/test_qti_2.1.check/qti_013823.xml +0 -1
  89. data/spec/fixtures/test_qti_2.1.check/qti_037457.xml +0 -1
  90. data/spec/fixtures/test_qti_2.1.check/qti_037468.xml +0 -1
  91. data/spec/fixtures/test_qti_2.1.check/qti_037478.xml +0 -1
  92. data/spec/fixtures/test_qti_2.1.check/qti_037498.xml +0 -1
  93. data/spec/fixtures/test_qti_2.1.check/qti_037995.xml +0 -1
  94. data/spec/fixtures/test_qti_2.1.check/qti_038003.xml +0 -1
  95. data/spec/fixtures/test_qti_2.1.check/qti_038630.xml +0 -1
  96. data/spec/fixtures/test_qti_2.1.check/qti_038881.xml +0 -1
  97. data/spec/fixtures/test_qti_2.1.check/qti_038907.xml +0 -1
  98. data/spec/fixtures/test_qti_2.1.check/qti_039251.xml +0 -1
  99. data/spec/fixtures/test_qti_2.1.check/qti_039354.xml +0 -1
  100. data/spec/fixtures/test_qti_2.1.check/qti_039441.xml +0 -1
  101. data/spec/fixtures/test_qti_2.1.check/qti_204657.xml +0 -1
  102. data/spec/fixtures/test_qti_2.1.check/qti_213769.xml +0 -4
  103. data/spec/fixtures/test_qti_2.1.check/qti_215227.xml +0 -6
  104. data/spec/fixtures/test_qti_2.1.check/qti_217622.xml +0 -1
  105. data/spec/fixtures/test_qti_2.1.check/qti_227383.xml +0 -1
  106. data/spec/fixtures/test_qti_2.1.check/qti_227419.xml +0 -1
  107. data/spec/fixtures/test_qti_2.1.check/qti_228253.xml +0 -1
  108. data/spec/fixtures/test_qti_2.1.check/qti_228444.xml +0 -1
  109. data/spec/fixtures/test_qti_2.1.check/qti_228820.xml +0 -1
  110. data/spec/fixtures/test_qti_2.1.check/qti_229874.xml +0 -1
  111. data/spec/fixtures/test_qti_2.1.check/qti_400240.xml +0 -1
  112. data/spec/fixtures/test_qti_2.1.check/qti_600842.xml +0 -1
  113. data/spec/fixtures/test_qti_2.1.check/qti_600940.xml +0 -1
  114. data/spec/fixtures/test_qti_2.1.check/qti_EMP000001.xml +0 -1
  115. data/spec/fixtures/test_qti_2.1.check/qti_LBS10884.xml +0 -4
  116. data/spec/fixtures/test_qti_2.1.check/qti_MMP000006.xml +0 -3
  117. data/spec/fixtures/test_qti_2.1.check/qti_MMP000007.xml +0 -9
  118. data/spec/fixtures/test_qti_2.1.check/stylesheet/scip.css +0 -42
  119. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_01/qtiv2p1_EntryTest_VE_IP_01.xml +0 -67
  120. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_02/apip_VE_IP_02.css +0 -38
  121. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_02/apip_VE_IP_02.svg +0 -28
  122. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_02/qtiv2p1_EntryTest_VE_IP_02.xml +0 -121
  123. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_03/qtiv2p1_EntryTest_VE_IP_03.xml +0 -129
  124. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_04/qtiv2p1_EntryTest_VE_IP_04.xml +0 -69
  125. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_05/apip_VE_IP_05_croc.png +0 -0
  126. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_05/apip_VE_IP_05_flamingos.png +0 -0
  127. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_05/apip_VE_IP_05_title.png +0 -0
  128. data/spec/fixtures/test_qti_2.1.old/Items/Item_VE_IP_05/qtiv2p1_EntryTest_VE_IP_05.xml +0 -139
  129. data/spec/fixtures/test_qti_2.1.old/Tests/Test_VE_TP_06/qtiv2p1_EntryTest_VE_TP_06.xml +0 -200
  130. data/spec/fixtures/test_qti_2.1.old/imsmanifest.xml +0 -264
  131. data/spec/fixtures/test_qti_2.1.zip.old +0 -0
  132. data/spec/fixtures/test_qti_2.1/example/graphicOrder.xml +0 -32
  133. data/spec/fixtures/test_qti_2.1/example/hotspot.xml +0 -26
  134. data/spec/gemfiles/rails-4.2.gemfile.lock +0 -204
  135. data/spec/gemfiles/rails-5.0.gemfile.lock +0 -210
  136. data/spec/gemfiles/rails-5.1.gemfile.lock +0 -210
  137. data/spec/gemfiles/sanitize-4.2.gemfile.lock +0 -145
  138. data/spec/gemfiles/sanitize-4.5.gemfile.lock +0 -145
@@ -1,38 +0,0 @@
1
- #div1 { position:relative; height:170px; }
2
- #labelA {
3
- font-size: 16pt;
4
- font-family:Verdana, Geneva, sans-serif;
5
- font-style:italic;
6
- position:absolute;
7
- left:44px;
8
- top:144px;
9
- z-index:2;
10
- }
11
- #labelB {
12
- font-size: 16pt;
13
- font-family:Verdana, Geneva, sans-serif;
14
- font-style:italic;
15
- position:absolute;
16
- left:44px;
17
- top:4px;
18
- z-index:3;
19
- }
20
- #labelC {
21
- font-size: 16pt;
22
- font-family:Verdana, Geneva, sans-serif;
23
- font-style:italic;
24
- position:absolute;
25
- left:268px;
26
- top:4px;
27
- z-index:4;
28
- }
29
- #labelD {
30
- font-size: 16pt;
31
- font-family:Verdana, Geneva, sans-serif;
32
- font-style:italic;
33
- position:absolute;
34
- left:268px;
35
- top:144px;
36
- z-index:5;
37
- }
38
- #figure1 { position:absolute; left:40px; z-index:1; }
@@ -1,28 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 15.0.2, SVG Export Plug-In -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
4
- <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
5
- ]>
6
- <svg version="1.0"
7
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
8
- x="0px" y="0px" width="250px" height="165px" viewBox="-19.3 -3.818 250 165"
9
- overflow="visible" enable-background="new -19.3 -3.818 250 165" xml:space="preserve">
10
- <defs>
11
- </defs>
12
- <rect fill="#FFFFFF" width="206.452" height="156.682"/>
13
- <rect x="3.226" y="3.132" fill="#A7A9AC" width="99.772" height="100.094"/>
14
- <rect x="3.226" y="3.132" fill="none" stroke="#231F20" stroke-width="2" stroke-miterlimit="10" width="200" height="150"/>
15
- <g>
16
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="3.226" y1="153.131" x2="3.226" y2="3.132"/>
17
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="53.226" y1="153.131" x2="53.226" y2="3.132"/>
18
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="103.226" y1="153.131" x2="103.226" y2="3.132"/>
19
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="153.226" y1="153.131" x2="153.226" y2="3.132"/>
20
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="203.226" y1="153.131" x2="203.226" y2="3.132"/>
21
- </g>
22
- <g>
23
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="202.768" y1="153.131" x2="3.23" y2="153.131"/>
24
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="202.768" y1="103.131" x2="3.229" y2="103.131"/>
25
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="202.768" y1="53.131" x2="3.229" y2="53.131"/>
26
- <line fill="none" stroke="#231F20" stroke-miterlimit="10" x1="202.768" y1="3.131" x2="3.228" y2="3.131"/>
27
- </g>
28
- </svg>
@@ -1,121 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <assessmentItem adaptive="false" identifier="VE-IP-02"
3
- timeDependent="false"
4
- title="QTI v2.1 Entry Profile Single MC/SR Item Test Instance"
5
- xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
6
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1998/Math/MathML http://www.w3.org/Math/XMLSchema/mathml2/mathml2.xsd http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1p2.xsd">
7
- <responseDeclaration baseType="identifier" cardinality="single" identifier="RESPONSE">
8
- <correctResponse>
9
- <value>D</value>
10
- </correctResponse>
11
- </responseDeclaration>
12
- <outcomeDeclaration baseType="float" cardinality="single"
13
- identifier="SCORE" normalMaximum="1" normalMinimum="0">
14
- <defaultValue>
15
- <value>0</value>
16
- </defaultValue>
17
- </outcomeDeclaration>
18
- <stylesheet href="apip_VE_IP_02.css" type="text/css"/>
19
- <itemBody>
20
- <div id="div1">
21
- <img
22
- alt="Figure showing Rectangle ABCD divided into 12 equal boxes. 4 of the boxes are shaded."
23
- height="165" id="figure1" src="apip_VE_IP_02.svg" width="250"/>
24
- <span id="labelA">A</span>
25
- <span id="labelB">B</span>
26
- <span id="labelC">C</span>
27
- <span id="labelD">D</span>
28
- </div>
29
- <choiceInteraction id="choicereduction" maxChoices="1"
30
- responseIdentifier="RESPONSE" shuffle="false">
31
- <prompt id="prompt">In the figure above, what fraction of the rectangle <em>ABCD</em> is
32
- shaded?</prompt>
33
- <simpleChoice fixed="true" identifier="A">
34
- <p id="p2">
35
- <math id="r1" xmlns="http://www.w3.org/1998/Math/MathML">
36
- <mfrac>
37
- <mn>1</mn>
38
- <mn>6</mn>
39
- </mfrac>
40
- </math>
41
- </p>
42
- </simpleChoice>
43
- <simpleChoice fixed="true" identifier="B">
44
- <p id="p3">
45
- <math id="r2" xmlns="http://www.w3.org/1998/Math/MathML">
46
- <mfrac>
47
- <mn>1</mn>
48
- <mn>5</mn>
49
- </mfrac>
50
- </math>
51
- </p>
52
- </simpleChoice>
53
- <simpleChoice fixed="true" identifier="C">
54
- <p id="p4">
55
- <math id="r3" xmlns="http://www.w3.org/1998/Math/MathML">
56
- <mfrac>
57
- <mn>1</mn>
58
- <mn>4</mn>
59
- </mfrac>
60
- </math>
61
- </p>
62
- </simpleChoice>
63
- <simpleChoice fixed="true" identifier="D">
64
- <p id="p5">
65
- <math id="r4" xmlns="http://www.w3.org/1998/Math/MathML">
66
- <mfrac>
67
- <mn>1</mn>
68
- <mn>3</mn>
69
- </mfrac>
70
- </math>
71
- </p>
72
- </simpleChoice>
73
- <simpleChoice fixed="true" identifier="E">
74
- <p id="p6">
75
- <math id="r5" xmlns="http://www.w3.org/1998/Math/MathML">
76
- <mfrac>
77
- <mn>1</mn>
78
- <mn>2</mn>
79
- </mfrac>
80
- </math>
81
- </p>
82
- </simpleChoice>
83
- </choiceInteraction>
84
- </itemBody>
85
- <responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/>
86
- </assessmentItem>
87
- <!-- ************************************************************************************************** -->
88
- <!-- -->
89
- <!-- Authors: Tom Hoffmann (Measured Progress, USA) -->
90
- <!-- Zach Pierce (Measured progress, USA) -->
91
- <!-- Colin Smythe (IMS Global, UK) -->
92
- <!-- Wilbert Kraan (CETIS, UK) -->
93
- <!-- Version: 1.0 -->
94
- <!-- Date: 28 March, 2014 -->
95
- <!-- -->
96
- <!-- Description: Test File (Valid) for the QTIv2.1 Entry Level Profile -->
97
- <!-- This is the single QTI Item with a Choice Interaction to create a MC/SR question -->
98
- <!-- with embedded response processing. -->
99
- <!-- All compliant systems should import this QTI Item XML. -->
100
- <!-- -->
101
- <!-- History: First formal release. -->
102
- <!-- -->
103
- <!-- Copyright: 2014 (c) IMS Global Learning Consortium 1999-2014. All Rights Reserved. -->
104
- <!-- -->
105
- <!-- Use of this example to develop products or services is governed by the license with -->
106
- <!-- IMS found on the IMS website: http://www.imsglobal.org/license.html. -->
107
- <!-- -->
108
- <!-- Permission is granted to all parties to use excerpts from this document as needed -->
109
- <!-- in producing requests for proposals. -->
110
- <!-- -->
111
- <!-- The limited permissions granted above are perpetual and will not be revoked by IMS -->
112
- <!-- or its successors or assigns. -->
113
- <!-- -->
114
- <!-- THIS EXAMPLE IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, -->
115
- <!-- ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICA- -->
116
- <!-- TION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTI- -->
117
- <!-- UM NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY -->
118
- <!-- IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR -->
119
- <!-- INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION. -->
120
- <!-- -->
121
- <!--$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$-->
@@ -1,129 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <assessmentItem adaptive="false" identifier="VE-IP-03"
3
- timeDependent="false"
4
- title="QTI v2.1 Entry Profile Single MC/MR Item Test Instance"
5
- xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
6
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1p2.xsd">
7
- <responseDeclaration baseType="identifier" cardinality="multiple" identifier="RESPONSE">
8
- <correctResponse>
9
- <value>option1</value>
10
- <value>option2</value>
11
- <value>option4</value>
12
- </correctResponse>
13
- <mapping defaultValue="-2" lowerBound="0" upperBound="3">
14
- <mapEntry mapKey="option1" mappedValue="1"/>
15
- <mapEntry mapKey="option2" mappedValue="1"/>
16
- <mapEntry mapKey="option3" mappedValue="-1"/>
17
- <mapEntry mapKey="option4" mappedValue="1"/>
18
- <mapEntry mapKey="option5" mappedValue="-1"/>
19
- </mapping>
20
- </responseDeclaration>
21
- <outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE"/>
22
- <itemBody id="theWholeItem">
23
- <p id="p1">
24
- <span id="a">Ms. Smith's class contains 24 students. </span>
25
- <span id="b">Each student voted for his or her favorite color. </span>
26
- <span id="c">The result of the class vote is shown </span>
27
- <span id="z">in the table below.</span>
28
- </p>
29
- <table id="table001">
30
- <caption id="d">Results of the Class Vote</caption>
31
- <tbody>
32
- <tr id="columnheadings">
33
- <td id="th001">
34
- <span id="e">Color</span>
35
- </td>
36
- <td id="th002">
37
- <span id="f">Number of Students</span>
38
- </td>
39
- </tr>
40
- <tr id="u">
41
- <td id="td001">
42
- <span id="g">Red</span>
43
- </td>
44
- <td id="td002">
45
- <span id="h">12</span>
46
- </td>
47
- </tr>
48
- <tr id="v">
49
- <td id="td003">
50
- <span id="i">Blue</span>
51
- </td>
52
- <td id="td004">
53
- <span id="j">6</span>
54
- </td>
55
- </tr>
56
- <tr id="w">
57
- <td id="td005">
58
- <span id="k">Green</span>
59
- </td>
60
- <td id="td006">
61
- <span id="l">4</span>
62
- </td>
63
- </tr>
64
- <tr id="x">
65
- <td id="td007">
66
- <span id="m">Yellow</span>
67
- </td>
68
- <td id="td008">
69
- <span id="n">2</span>
70
- </td>
71
- </tr>
72
- </tbody>
73
- </table>
74
- <choiceInteraction maxChoices="5" responseIdentifier="RESPONSE" shuffle="false">
75
- <prompt id="o">Indicate which of the following statements are accurate.</prompt>
76
- <simpleChoice fixed="true" identifier="option1">
77
- <p id="p">The majority of students voted for Red.</p>
78
- </simpleChoice>
79
- <simpleChoice fixed="true" identifier="option2">
80
- <p id="q">Twice as many students voted for Red a voted for Blue.</p>
81
- </simpleChoice>
82
- <simpleChoice fixed="true" identifier="option3">
83
- <p id="r">Two percent of students voted for Yellow.</p>
84
- </simpleChoice>
85
- <simpleChoice fixed="true" identifier="option4">
86
- <p id="s">Red received more votes than any other color.</p>
87
- </simpleChoice>
88
- <simpleChoice fixed="true" identifier="option5">
89
- <p id="t">Twenty-five percent of students voted for Green.</p>
90
- </simpleChoice>
91
- </choiceInteraction>
92
- </itemBody>
93
- <responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/map_response"/>
94
- </assessmentItem>
95
- <!-- ************************************************************************************************** -->
96
- <!-- -->
97
- <!-- Authors: Tom Hoffmann (Measured Progress, USA) -->
98
- <!-- Zach Pierce (Measured progress, USA) -->
99
- <!-- Colin Smythe (IMS Global, UK) -->
100
- <!-- Wilbert Kraan (CETIS, UK) -->
101
- <!-- Version: 1.0 -->
102
- <!-- Date: 28 March, 2014 -->
103
- <!-- -->
104
- <!-- Description: Test File (Valid) for the QTIv2.1 Entry Level Profile -->
105
- <!-- This is the single QTI Item with a Choice Interaction to create a MC/MR question -->
106
- <!-- with embedded response processing. -->
107
- <!-- All compliant systems should import this QTI Item XML. -->
108
- <!-- -->
109
- <!-- History: First formal release. -->
110
- <!-- -->
111
- <!-- Copyright: 2014 (c) IMS Global Learning Consortium 1999-2014. All Rights Reserved. -->
112
- <!-- -->
113
- <!-- Use of this example to develop products or services is governed by the license with -->
114
- <!-- IMS found on the IMS website: http://www.imsglobal.org/license.html. -->
115
- <!-- -->
116
- <!-- Permission is granted to all parties to use excerpts from this document as needed -->
117
- <!-- in producing requests for proposals. -->
118
- <!-- -->
119
- <!-- The limited permissions granted above are perpetual and will not be revoked by IMS -->
120
- <!-- or its successors or assigns. -->
121
- <!-- -->
122
- <!-- THIS EXAMPLE IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, -->
123
- <!-- ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICA- -->
124
- <!-- TION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTI- -->
125
- <!-- UM NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY -->
126
- <!-- IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR -->
127
- <!-- INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION. -->
128
- <!-- -->
129
- <!--$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$-->
@@ -1,69 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <assessmentItem adaptive="false" identifier="VE-IP-04"
3
- timeDependent="false"
4
- title="QTI v2.1 Entry Profile Single FIB Item Test Instance"
5
- xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
6
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1p2.xsd">
7
- <responseDeclaration baseType="string" cardinality="single" identifier="RESPONSE">
8
- <correctResponse>
9
- <value>Lake Michigan</value>
10
- </correctResponse>
11
- <mapping defaultValue="0">
12
- <mapEntry mapKey="Lake Michigan" mappedValue="1"/>
13
- <mapEntry mapKey="lake michigan" mappedValue="1"/>
14
- <mapEntry mapKey="lake Michigan" mappedValue="1"/>
15
- <mapEntry mapKey="Lake michigan" mappedValue="1"/>
16
- <mapEntry mapKey="Michigan" mappedValue="0.5"/>
17
- <mapEntry mapKey="michigan" mappedValue="0.5"/>
18
- </mapping>
19
- </responseDeclaration>
20
- <outcomeDeclaration baseType="float" cardinality="single"
21
- identifier="SCORE" normalMaximum="1" normalMinimum="0">
22
- <defaultValue>
23
- <value>0.0</value>
24
- </defaultValue>
25
- </outcomeDeclaration>
26
- <itemBody>
27
- <p id="stem_1">Canada and the United States share 4 out of the 5 Great Lakes in central North America.</p>
28
- <p id="prompt_1">Which lake is entirely within the boundaries of the United States?</p>
29
- <p id="response_1">Type your answer here: <textEntryInteraction
30
- expectedLength="15" responseIdentifier="RESPONSE"/>
31
- </p>
32
- </itemBody>
33
- <responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/map_response"/>
34
- </assessmentItem>
35
- <!-- ************************************************************************************************** -->
36
- <!-- -->
37
- <!-- Authors: Tom Hoffmann (Measured Progress, USA) -->
38
- <!-- Zach Pierce (Measured progress, USA) -->
39
- <!-- Colin Smythe (IMS Global, UK) -->
40
- <!-- Wilbert Kraan (CETIS, UK) -->
41
- <!-- Version: 1.0 -->
42
- <!-- Date: 28 March, 2013 -->
43
- <!-- -->
44
- <!-- Description: Test File (Valid) for the QTIv2.1 Entry Level Profile -->
45
- <!-- This is the single QTI Item with a Text Entry Interaction to create a FIB question -->
46
- <!-- with embedded response processing. -->
47
- <!-- All compliant systems should import this QTI Item XML. -->
48
- <!-- -->
49
- <!-- History: First formal release. -->
50
- <!-- -->
51
- <!-- Copyright: 2014 (c) IMS Global Learning Consortium 1999-2014. All Rights Reserved. -->
52
- <!-- -->
53
- <!-- Use of this example to develop products or services is governed by the license with -->
54
- <!-- IMS found on the IMS website: http://www.imsglobal.org/license.html. -->
55
- <!-- -->
56
- <!-- Permission is granted to all parties to use excerpts from this document as needed -->
57
- <!-- in producing requests for proposals. -->
58
- <!-- -->
59
- <!-- The limited permissions granted above are perpetual and will not be revoked by IMS -->
60
- <!-- or its successors or assigns. -->
61
- <!-- -->
62
- <!-- THIS EXAMPLE IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, -->
63
- <!-- ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICA- -->
64
- <!-- TION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTI- -->
65
- <!-- UM NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY -->
66
- <!-- IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR -->
67
- <!-- INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION. -->
68
- <!-- -->
69
- <!--$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$-->
@@ -1,139 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <assessmentItem adaptive="false" identifier="VE-IP-05"
3
- timeDependent="false"
4
- title="QTI v2.1 Entry Profile Single Essay Item Test Instance"
5
- xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1"
6
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1p2.xsd">
7
- <responseDeclaration baseType="string" cardinality="single" identifier="RESPONSE"/>
8
- <outcomeDeclaration baseType="float" cardinality="single"
9
- identifier="SCORE" normalMaximum="0.1" normalMinimum="0">
10
- <defaultValue>
11
- <value>0</value>
12
- </defaultValue>
13
- </outcomeDeclaration>
14
- <itemBody>
15
- <div>
16
- <img
17
- alt="Picture of a door opening to a hallway. A person's shadow is cast on the door and hallway."
18
- height="210" id="content4" src="apip_VE_IP_05_title.png" width="400"/>
19
- </div>
20
- <p class="passageTitle" id="content18">
21
- <strong id="content11">An Unbelievable Night</strong>
22
- </p>
23
- <p class="authorLine" id="content20">by Franz Hohler</p>
24
- <p id="content6">Anina was ten years old, so even half asleep she could find her way from
25
- her room to the bathroom. The door to her room was usually open a crack, and the
26
- nightlight in the hallway made it light enough to get to the bathroom past the telephone
27
- stand.</p>
28
- <p id="content17">One night, as she passed the telephone stand on her way to the bathroom,
29
- Anina heard something that sounded like a quiet hissing. But, because she was half
30
- asleep, she didn’t really pay any attention to it. Anyway, it came from pretty far away.
31
- Not until she was on her way back to her room did she see where it came from. Under the
32
- telephone stand there was a large pile of old newspapers and magazines, and this pile
33
- now began to move. That was where the noise was coming from. All of a sudden the pile
34
- started to fall over — right, left, forwards, backwards — then there were newspapers and
35
- magazines all over the floor.</p>
36
- <p id="content21">Anina could not believe her eyes as she watched a grunting and snorting
37
- crocodile come out from under the telephone stand.</p>
38
- <p id="content1">Anina was frozen to the spot. Her eyes wide as saucers, she watched the
39
- crocodile crawl completely out of the newspapers and slowly look around the apartment.
40
- It seemed to have just come out of the water because its whole body was dripping wet.
41
- Wherever the crocodile stepped, the carpet under it became drenched.</p>
42
- <div>
43
- <img
44
- alt="Picture of a crocodile with mouth open in a wet hallway. Magazines are strewn over the floor."
45
- height="364" id="content9" src="apip_VE_IP_05_croc.png" width="400"/>
46
- </div>
47
- <p id="content5">The crocodile moved its head back and forth letting out a loud hissing
48
- sound. Anina swallowed hard, looking at the crocodile’s snout with its terribly long row
49
- of teeth. It swung its tail slowly back and forth. Anina had read about that in “Animal
50
- Magazine”— how the crocodile whips the water with its tail to chase away or attack its
51
- enemies.</p>
52
- <p id="content13">Her gaze fell on the last issue of “Animal Magazine,” which had fallen
53
- from the pile and was lying at her feet. She got another shock. The cover of the
54
- magazine used to have a picture of a big crocodile on a river bank. The river bank was
55
- now empty!</p>
56
- <p id="content3">Anina bent down and picked up the magazine. At that moment the crocodile
57
- whipped his tail so hard that he cracked the big vase of sunflowers on the floor and the
58
- sunflowers scattered everywhere. With a quick jump Anina was in her bedroom. She slammed
59
- the door shut, grabbed her bed and pushed it up against the door. She had built a
60
- barricade that would keep her safe from the crocodile. Relieved, she let her breath out.
61
- But then she hesitated. What if the beast was simply hungry? Maybe to make the crocodile
62
- go away you had to give it something to eat?</p>
63
- <p id="content2">Anina looked again at the animal magazine. If the crocodile could crawl out
64
- of a picture then perhaps other animals could too. Anina hastily flipped through the
65
- magazine and stopped at a swarm of flamingos in a jungle swamp. Just right, she thought.
66
- They look like a birthday cake for crocodiles.</p>
67
- <p id="content10">Suddenly there was a loud crack and the tip of the crocodile’s tail pushed
68
- through the splintered door. Quickly, Anina held the picture of the flamingos up to the
69
- hole in the door and called as loud as she could, “Get out of the swamp! Shoo! Shoo!”
70
- Then she threw the magazine through the hole into the hallway, clapped her hands and
71
- yelled and screamed.</p>
72
- <p id="content12">She could hardly believe what happened next. The entire hallway was
73
- suddenly filled with screeching flamingos wildly flapping their wings and running around
74
- all over the place on their long, skinny legs. Anina saw one bird with a sunflower in
75
- its beak and another grabbing her mother’s hat from its hook. She also saw a flamingo
76
- disappear into the croc0dile’s mouth. With two quick bites he swallowed the flamingo and
77
- quickly followed it with another, the one with the sunflower in its beak.</p>
78
- <div>
79
- <img
80
- alt="Four flamingos are walking out of an open magazine photograph."
81
- height="252" id="content16" src="apip_VE_IP_05_flamingos.png" width="300"/>
82
- </div>
83
- <p id="content15">After two portions of flamingo the crocodile seemed to have had enough and
84
- lay down contentedly in the middle of the hallway. When he had closed his eyes and no
85
- longer moved, Anina quietly opened her door and slipped through it into the hallway. She
86
- placed the empty magazine cover in front of the crocodile's nose. “Please,” she
87
- whispered, “please go back home.” She crept back into the bedroom and looked through the
88
- hole in the door. She saw the crocodile back on the cover of the magazine.</p>
89
- <p id="content14">She now went cautiously into the living room where the flamingos were
90
- crowded around the sofa and standing on the television. Anina opened the magazine to the
91
- page with the empty picture. “Thank you,” she said, “thank you very much. You may now go
92
- back to your swamp.”</p>
93
- <p id="content8">In the morning, it was very difficult for her to explain the giant wet spot
94
- on the floor and the broken door to her parents. They weren’t convinced about the
95
- crocodile even though her mother’s hat was nowhere to be found.</p>
96
- <p class="passageCredit" id="content19">Adapted from Eine Wilde Nacht in Der Große Zwerg und
97
- Andere Geschichten by Franz Hohler. Published 2003 by Deutscher Taschenbuch Verlag,
98
- Munchen, Germany. Illustrations by Thomas Hoffmann.</p>
99
- <extendedTextInteraction expectedLength="300" expectedLines="4"
100
- format="plain" id="eti1" responseIdentifier="RESPONSE">
101
- <prompt id="prompt">Why did Anina call the flamingos?</prompt>
102
- </extendedTextInteraction>
103
- </itemBody>
104
- </assessmentItem>
105
- <!-- ************************************************************************************************** -->
106
- <!-- -->
107
- <!-- Authors: Tom Hoffmann (Measured Progress, USA) -->
108
- <!-- Zach Pierce (Measured progress, USA) -->
109
- <!-- Colin Smythe (IMS Global, UK) -->
110
- <!-- Wilbert Kraan (CETIS, UK) -->
111
- <!-- Version: 1.0 -->
112
- <!-- Date: 28 March, 2014 -->
113
- <!-- -->
114
- <!-- Description: Test File (Valid) for the QTIv2.1 Entry Level Profile -->
115
- <!-- This is the single QTI Item with an Extended Text Interaction to create an essay -->
116
- <!-- question with external scoring. -->
117
- <!-- All compliant systems should import this QTI Item XML. -->
118
- <!-- -->
119
- <!-- History: First formal release. -->
120
- <!-- -->
121
- <!-- Copyright: 2014 (c) IMS Global Learning Consortium 1999-2014. All Rights Reserved. -->
122
- <!-- -->
123
- <!-- Use of this example to develop products or services is governed by the license with -->
124
- <!-- IMS found on the IMS website: http://www.imsglobal.org/license.html. -->
125
- <!-- -->
126
- <!-- Permission is granted to all parties to use excerpts from this document as needed -->
127
- <!-- in producing requests for proposals. -->
128
- <!-- -->
129
- <!-- The limited permissions granted above are perpetual and will not be revoked by IMS -->
130
- <!-- or its successors or assigns. -->
131
- <!-- -->
132
- <!-- THIS EXAMPLE IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, -->
133
- <!-- ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICA- -->
134
- <!-- TION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTI- -->
135
- <!-- UM NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY -->
136
- <!-- IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR -->
137
- <!-- INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION. -->
138
- <!-- -->
139
- <!--$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$-->