qti 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -1
  3. data/lib/qti/v1/models/assessment.rb +2 -2
  4. data/lib/qti/v1/models/assessment_item.rb +5 -29
  5. data/lib/qti/v1/models/interactions/base_interaction.rb +33 -0
  6. data/lib/qti/v1/models/interactions/choice_interaction.rb +44 -0
  7. data/lib/qti/v1/models/interactions/match_interaction.rb +60 -0
  8. data/lib/qti/v1/models/interactions/ordering_interaction.rb +23 -0
  9. data/lib/qti/v1/models/interactions/string_interaction.rb +1 -3
  10. data/lib/qti/v1/models/interactions.rb +1 -3
  11. data/lib/qti/v1/models/scoring_data.rb +7 -0
  12. data/lib/qti/v2/models/assessment_item.rb +2 -6
  13. data/lib/qti/v2/models/choices/simple_associable_choice.rb +12 -0
  14. data/lib/qti/v2/models/interactions/base_interaction.rb +43 -0
  15. data/lib/qti/v2/models/interactions/choice_interaction.rb +2 -12
  16. data/lib/qti/v2/models/interactions/extended_text_interaction.rb +1 -5
  17. data/lib/qti/v2/models/interactions/match_interaction.rb +52 -0
  18. data/lib/qti/v2/models/scoring_data.rb +7 -0
  19. data/lib/qti.rb +6 -0
  20. data/spec/fixtures/items_1.2/matching.xml +74 -0
  21. data/spec/fixtures/items_1.2/multiple_answer.xml +1 -1
  22. data/spec/fixtures/items_1.2/multiple_choice.xml +1 -1
  23. data/spec/fixtures/items_1.2/ordering.xml +20 -20
  24. data/spec/fixtures/items_1.2/true_false.xml +1 -1
  25. data/spec/fixtures/items_2.1/match.xml +33 -39
  26. data/spec/fixtures/test_qti_1.2/quiz.xml +209 -216
  27. data/spec/lib/qti/v1/models/assessment_item_spec.rb +20 -2
  28. data/spec/lib/qti/v1/models/interactions/{logical_identifier_interaction_spec.rb → choice_interaction_spec.rb} +1 -1
  29. data/spec/lib/qti/v2/models/assessment_item_spec.rb +24 -0
  30. metadata +15 -5
  31. data/lib/qti/v1/models/interactions/logical_identifier_interaction.rb +0 -36
@@ -14,48 +14,48 @@
14
14
  <!-- Version 1.2 Compliant Example: BasicExample009b -->
15
15
 
16
16
  <!-- Basic Example with response processing. -->
17
- <questestinterop>
18
- <qticomment>This is a standard ordering of a list of words. Ordered response processing is demonstrated.</qticomment>
19
- <item title = "Standard Object Ordering of text Item" ident = "IMS_V01_I_BasicExample009b">
17
+ <questestinterop xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/ims_qtiasiv1p2 http://www.imsglobal.org/xsd/ims_qtiasiv1p2p1.xsd">
18
+ <qticomment>This is a standard ordering of a list of words. Ordered response processing is demonstrated.</qticomment>
19
+ <item title = "Standard Object Ordering of text Item" ident = "IMS_V01_I_BasicExample009b">
20
20
  <presentation label = "BasicExample009b">
21
21
  <flow>
22
- <material>
23
- <mattext>What is the correct order for the days of the week ?</mattext>
22
+ <material>
23
+ <mattext>What is the correct order for the days of the week ?</mattext>
24
24
  </material>
25
- <response_lid ident = "OB01" rcardinality = "Ordered" rtiming = "No">
26
- <render_extension>
25
+ <response_lid ident = "OB01" rcardinality = "Ordered" rtiming = "No">
26
+ <render_extension>
27
27
  <ims_render_object shuffle = "No" orientation = "Row">
28
28
  <flow_label>
29
- <response_label ident = "A">
29
+ <response_label ident = "A">
30
30
  <material>
31
31
  <mattext>Monday</mattext>
32
- </material>
32
+ </material>
33
33
  </response_label>
34
- <response_label ident = "B">
34
+ <response_label ident = "B">
35
35
  <material>
36
36
  <mattext>Tuesday</mattext>
37
- </material>
37
+ </material>
38
38
  </response_label>
39
- <response_label ident = "C">
39
+ <response_label ident = "C">
40
40
  <material>
41
41
  <mattext>Friday</mattext>
42
- </material>
42
+ </material>
43
43
  </response_label>
44
- <response_label ident = "D">
44
+ <response_label ident = "D">
45
45
  <material>
46
46
  <mattext>Thursday</mattext>
47
- </material>
47
+ </material>
48
48
  </response_label>
49
- <response_label ident = "E">
49
+ <response_label ident = "E">
50
50
  <material>
51
51
  <mattext>Wednesday</mattext>
52
- </material>
52
+ </material>
53
53
  </response_label>
54
- </flow_label>
54
+ </flow_label>
55
55
  </ims_render_object>
56
56
  </render_extension>
57
57
  </response_lid>
58
- </flow>
58
+ </flow>
59
59
  </presentation>
60
60
  <resprocessing>
61
61
  <outcomes>
@@ -82,4 +82,4 @@
82
82
  </flow_mat>
83
83
  </itemfeedback>
84
84
  </item>
85
- </questestinterop>
85
+ </questestinterop>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="ISO-8859-1"?>
2
2
 
3
- <questestinterop>
3
+ <questestinterop xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/ims_qtiasiv1p2 http://www.imsglobal.org/xsd/ims_qtiasiv1p2p1.xsd">
4
4
 
5
5
  <assessment title="1.2 Import Quiz" ident="A1001">
6
6
  <section title="Main" ident="S1002">
@@ -1,41 +1,35 @@
1
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="match" title="Characters and Plays" adaptive="false" timeDependent="false">
6
- <responseDeclaration identifier="RESPONSE" cardinality="multiple" baseType="directedPair">
7
- <correctResponse>
8
- <value>C R</value>
9
- <value>D M</value>
10
- <value>L M</value>
11
- <value>P T</value>
12
- </correctResponse>
13
- <mapping defaultValue="0">
14
- <mapEntry mapKey="C R" mappedValue="1"/>
15
- <mapEntry mapKey="D M" mappedValue="0.5"/>
16
- <mapEntry mapKey="L M" mappedValue="0.5"/>
17
- <mapEntry mapKey="P T" mappedValue="1"/>
18
- </mapping>
19
- </responseDeclaration>
20
- <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
21
- <itemBody>
22
- <matchInteraction responseIdentifier="RESPONSE" shuffle="true" maxAssociations="4">
23
- <prompt>Match the following characters to the Shakespeare play they appeared in:</prompt>
24
- <simpleMatchSet>
25
- <simpleAssociableChoice identifier="C" matchMax="1">Capulet</simpleAssociableChoice>
26
- <simpleAssociableChoice identifier="D" matchMax="1">Demetrius</simpleAssociableChoice>
27
- <simpleAssociableChoice identifier="L" matchMax="1">Lysander</simpleAssociableChoice>
28
- <simpleAssociableChoice identifier="P" matchMax="1"
29
- >Prospero</simpleAssociableChoice>
30
- </simpleMatchSet>
31
- <simpleMatchSet>
32
- <simpleAssociableChoice identifier="M" matchMax="4">A Midsummer-Night's Dream</simpleAssociableChoice>
33
- <simpleAssociableChoice identifier="R" matchMax="4">Romeo and Juliet</simpleAssociableChoice>
34
- <simpleAssociableChoice identifier="T" matchMax="4">The
35
- Tempest</simpleAssociableChoice>
36
- </simpleMatchSet>
37
- </matchInteraction>
38
- </itemBody>
39
- <responseProcessing
40
- template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/map_response"/>
2
+ <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd" identifier="match" title="Characters and Plays" adaptive="false" timeDependent="false">
3
+ <responseDeclaration identifier="RESPONSE" cardinality="multiple" baseType="directedPair">
4
+ <correctResponse>
5
+ <value>C R</value>
6
+ <value>D M</value>
7
+ <value>L M</value>
8
+ <value>P T</value>
9
+ </correctResponse>
10
+ <mapping defaultValue="0">
11
+ <mapEntry mapKey="C R" mappedValue="1"/>
12
+ <mapEntry mapKey="D M" mappedValue="0.5"/>
13
+ <mapEntry mapKey="L M" mappedValue="0.5"/>
14
+ <mapEntry mapKey="P T" mappedValue="1"/>
15
+ </mapping>
16
+ </responseDeclaration>
17
+ <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
18
+ <itemBody>
19
+ <matchInteraction responseIdentifier="RESPONSE" shuffle="true" maxAssociations="4">
20
+ <prompt>Match the following characters to the Shakespeare play they appeared in:</prompt>
21
+ <simpleMatchSet>
22
+ <simpleAssociableChoice identifier="C" matchMax="1">Capulet</simpleAssociableChoice>
23
+ <simpleAssociableChoice identifier="D" matchMax="1">Demetrius</simpleAssociableChoice>
24
+ <simpleAssociableChoice identifier="L" matchMax="1">Lysander</simpleAssociableChoice>
25
+ <simpleAssociableChoice identifier="P" matchMax="1">Prospero</simpleAssociableChoice>
26
+ </simpleMatchSet>
27
+ <simpleMatchSet>
28
+ <simpleAssociableChoice identifier="M" matchMax="4">A Midsummer-Night's Dream</simpleAssociableChoice>
29
+ <simpleAssociableChoice identifier="R" matchMax="4">Romeo and Juliet</simpleAssociableChoice>
30
+ <simpleAssociableChoice identifier="T" matchMax="4">The Tempest</simpleAssociableChoice>
31
+ </simpleMatchSet>
32
+ </matchInteraction>
33
+ </itemBody>
34
+ <responseProcessing template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/map_response"/>
41
35
  </assessmentItem>
@@ -1,216 +1,209 @@
1
- <?xml version="1.0" encoding="ISO-8859-1"?>
2
-
3
- <questestinterop>
4
-
5
- <assessment title="1.2 Import Quiz" ident="A1001">
6
- <section title="Main" ident="S1002">
7
-
8
- <item title="Grading - specific - 3 pt score" ident="QUE_1003">
9
- <presentation>
10
- <material>
11
- <mattext texttype="text/html"><![CDATA[If I get a 3, I must have done something wrong. <img align="bottom" alt="image.png" src="org0/images/image.png" border="0"/>]]></mattext>
12
- </material>
13
- <response_lid ident="QUE_1004_RL" rcardinality="Single" rtiming="No">
14
- <render_choice shuffle= "Yes">
15
- <response_label ident="QUE_1005_A1">
16
- <material>
17
- <mattext texttype="text/html"><![CDATA[True]]></mattext>
18
- </material>
19
- </response_label>
20
- <response_label ident="QUE_1006_A2">
21
- <material>
22
- <mattext texttype="text/html"><![CDATA[False]]></mattext>
23
- </material>
24
- </response_label>
25
- </render_choice>
26
- </response_lid>
27
- </presentation>
28
- <resprocessing>
29
- <outcomes>
30
- <decvar vartype="Decimal" defaultval="0" varname="que_score"/>
31
- </outcomes>
32
- <respcondition>
33
- <conditionvar>
34
- <varequal respident="QUE_1004_RL">QUE_1005_A1</varequal>
35
- </conditionvar>
36
- <setvar varname="que_score" action="Add">0</setvar>
37
- </respcondition>
38
- <respcondition>
39
- <conditionvar>
40
- <varequal respident="QUE_1004_RL">QUE_1006_A2</varequal>
41
- </conditionvar>
42
- <setvar varname="que_score" action="Set">10.00</setvar>
43
- </respcondition>
44
- </resprocessing>
45
- </item>
46
-
47
- <item title="How much time each week?" ident="QUE_1007">
48
- <presentation>
49
- <material>
50
- <mattext texttype="text/html"><![CDATA[How much time should you spend working on your online course each week in order to earn credit? <img align="bottom" alt="image.png" src="$IMS_CC_FILE_BASE$org1/images/image.png" border="0"/>]]></mattext>
51
- </material>
52
- <response_lid ident="QUE_1008_RL" rcardinality="Single" rtiming="No">
53
- <render_choice>
54
- <response_label ident="QUE_1009_A1">
55
- <material>
56
- <mattext texttype="text/html"><![CDATA[However long it takes]]></mattext>
57
- </material>
58
- </response_label>
59
- <response_label ident="QUE_1010_A2">
60
- <material>
61
- <mattext texttype="text/html"><![CDATA[30 - 90 minutes]]></mattext>
62
- </material>
63
- </response_label>
64
- <response_label ident="QUE_1011_A3">
65
- <material>
66
- <mattext texttype="text/html"><![CDATA[1 - 2 hours]]></mattext>
67
- </material>
68
- </response_label>
69
- <response_label ident="QUE_1012_A4">
70
- <material>
71
- <mattext texttype="text/html"><![CDATA[At least 3 hours]]></mattext>
72
- </material>
73
- </response_label>
74
- <response_label ident="QUE_1013_A5">
75
- <material>
76
- <mattext texttype="text/html"><![CDATA[6 or more hours]]></mattext>
77
- </material>
78
- </response_label>
79
- </render_choice>
80
- </response_lid>
81
- </presentation>
82
- <resprocessing>
83
- <outcomes>
84
- <decvar vartype="Decimal" maxvalue="10" defaultval="0" varname="que_score"/>
85
- </outcomes>
86
- <respcondition>
87
- <conditionvar>
88
- <varequal respident="QUE_1008_RL">QUE_1009_A1</varequal>
89
- </conditionvar>
90
- <setvar varname="que_score" action="Add">0</setvar>
91
- </respcondition>
92
- <respcondition>
93
- <conditionvar>
94
- <varequal respident="QUE_1008_RL">QUE_1010_A2</varequal>
95
- </conditionvar>
96
- <setvar varname="que_score" action="Add">0</setvar>
97
- </respcondition>
98
- <respcondition>
99
- <conditionvar>
100
- <varequal respident="QUE_1008_RL">QUE_1011_A3</varequal>
101
- </conditionvar>
102
- <setvar varname="que_score" action="Add">0</setvar>
103
- </respcondition>
104
- <respcondition>
105
- <conditionvar>
106
- <varequal respident="QUE_1008_RL">QUE_1012_A4</varequal>
107
- </conditionvar>
108
- <setvar varname="que_score" action="Set">10.00</setvar>
109
- </respcondition>
110
- <respcondition>
111
- <conditionvar>
112
- <varequal respident="QUE_1008_RL">QUE_1013_A5</varequal>
113
- </conditionvar>
114
- <setvar varname="que_score" action="Add">0</setvar>
115
- </respcondition>
116
- </resprocessing>
117
- </item>
118
-
119
- <item title="Discussion - content." ident="QUE_1022">
120
- <presentation>
121
- <material>
122
- <mattext texttype="text/html"><![CDATA[A good discussion posting includes which of the following (select all that apply):]]></mattext>
123
- </material>
124
- <response_lid ident="QUE_1023_RL" rcardinality="Multiple" rtiming="No">
125
- <render_choice>
126
- <response_label ident="QUE_1024_A1">
127
- <material>
128
- <mattext texttype="text/html"><![CDATA[Poses a question or invites additional comment from others]]></mattext>
129
- </material>
130
- </response_label>
131
- <response_label ident="QUE_1025_A2">
132
- <material>
133
- <mattext texttype="text/html"><![CDATA[Attacks another's post to generate controversy]]></mattext>
134
- </material>
135
- </response_label>
136
- <response_label ident="QUE_1026_A3">
137
- <material>
138
- <mattext texttype="text/html"><![CDATA[Expresses an opinion which may be controversial so that others can agree or disagree]]></mattext>
139
- </material>
140
- </response_label>
141
- <response_label ident="QUE_1027_A4">
142
- <material>
143
- <mattext texttype="text/html"><![CDATA[Adds information, ideas or suggestions that expand everyone's thinking about the topic]]></mattext>
144
- </material>
145
- </response_label>
146
- <response_label ident="QUE_1028_A5">
147
- <material>
148
- <mattext texttype="text/html"><![CDATA[Reiterates the consensus or restates the ideas of others without adding independent thought]]></mattext>
149
- </material>
150
- </response_label>
151
- <response_label ident="QUE_1029_A6">
152
- <material>
153
- <mattext texttype="text/html"><![CDATA[Provides non-specific praise for fellow learners like "good job" or "I loved your idea"]]></mattext>
154
- </material>
155
- </response_label>
156
- <response_label ident="QUE_1030_A7">
157
- <material>
158
- <mattext texttype="text/html"><![CDATA[Responds positively to a person's comment and includes their name or quote from the original posting that supports your expanded idea]]></mattext>
159
- </material>
160
- </response_label>
161
- </render_choice>
162
- </response_lid>
163
- </presentation>
164
- <resprocessing>
165
- <outcomes>
166
- <decvar vartype="Decimal" defaultval="0" varname="que_score" maxvalue="10.00" minvalue="0"/>
167
- </outcomes>
168
- <respcondition>
169
- <conditionvar>
170
- <varequal respident="QUE_1023_RL">QUE_1024_A1</varequal>
171
- </conditionvar>
172
- <setvar varname="que_score" action="Add">25.00</setvar>
173
- </respcondition>
174
- <respcondition>
175
- <conditionvar>
176
- <varequal respident="QUE_1023_RL">QUE_1025_A2</varequal>
177
- </conditionvar>
178
- <setvar varname="que_score" action="Add">-10.00</setvar>
179
- </respcondition>
180
- <respcondition>
181
- <conditionvar>
182
- <varequal respident="QUE_1023_RL">QUE_1026_A3</varequal>
183
- </conditionvar>
184
- <setvar varname="que_score" action="Add">25.00</setvar>
185
- </respcondition>
186
- <respcondition>
187
- <conditionvar>
188
- <varequal respident="QUE_1023_RL">QUE_1027_A4</varequal>
189
- </conditionvar>
190
- <setvar varname="que_score" action="Add">25.00</setvar>
191
- </respcondition>
192
- <respcondition>
193
- <conditionvar>
194
- <varequal respident="QUE_1023_RL">QUE_1028_A5</varequal>
195
- </conditionvar>
196
- <setvar varname="que_score" action="Add">-10.00</setvar>
197
- </respcondition>
198
- <respcondition>
199
- <conditionvar>
200
- <varequal respident="QUE_1023_RL">QUE_1029_A6</varequal>
201
- </conditionvar>
202
- <setvar varname="que_score" action="Add">-10.00</setvar>
203
- </respcondition>
204
- <respcondition>
205
- <conditionvar>
206
- <varequal respident="QUE_1023_RL">QUE_1030_A7</varequal>
207
- </conditionvar>
208
- <setvar varname="que_score" action="Add">25.00</setvar>
209
- </respcondition>
210
- </resprocessing>
211
- </item>
212
-
213
- </section>
214
- </assessment>
215
-
216
- </questestinterop>
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <questestinterop xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/ims_qtiasiv1p2 http://www.imsglobal.org/xsd/ims_qtiasiv1p2p1.xsd">
3
+ <assessment title="1.2 Import Quiz" ident="A1001">
4
+ <section title="Main" ident="S1002">
5
+ <item title="Grading - specific - 3 pt score" ident="QUE_1003">
6
+ <presentation>
7
+ <material>
8
+ <mattext texttype="text/html"><![CDATA[If I get a 3, I must have done something wrong. <img align="bottom" alt="image.png" src="org0/images/image.png" border="0"/>]]></mattext>
9
+ </material>
10
+ <response_lid ident="QUE_1004_RL" rcardinality="Single" rtiming="No">
11
+ <render_choice shuffle="Yes">
12
+ <response_label ident="QUE_1005_A1">
13
+ <material>
14
+ <mattext texttype="text/html"><![CDATA[True]]></mattext>
15
+ </material>
16
+ </response_label>
17
+ <response_label ident="QUE_1006_A2">
18
+ <material>
19
+ <mattext texttype="text/html"><![CDATA[False]]></mattext>
20
+ </material>
21
+ </response_label>
22
+ </render_choice>
23
+ </response_lid>
24
+ </presentation>
25
+ <resprocessing>
26
+ <outcomes>
27
+ <decvar vartype="Decimal" defaultval="0" varname="que_score"/>
28
+ </outcomes>
29
+ <respcondition>
30
+ <conditionvar>
31
+ <varequal respident="QUE_1004_RL">QUE_1005_A1</varequal>
32
+ </conditionvar>
33
+ <setvar varname="que_score" action="Add">0</setvar>
34
+ </respcondition>
35
+ <respcondition>
36
+ <conditionvar>
37
+ <varequal respident="QUE_1004_RL">QUE_1006_A2</varequal>
38
+ </conditionvar>
39
+ <setvar varname="que_score" action="Set">10.00</setvar>
40
+ </respcondition>
41
+ </resprocessing>
42
+ </item>
43
+ <item title="How much time each week?" ident="QUE_1007">
44
+ <presentation>
45
+ <material>
46
+ <mattext texttype="text/html"><![CDATA[How much time should you spend working on your online course each week in order to earn credit? <img align="bottom" alt="image.png" src="$IMS_CC_FILE_BASE$org1/images/image.png" border="0"/>]]></mattext>
47
+ </material>
48
+ <response_lid ident="QUE_1008_RL" rcardinality="Single" rtiming="No">
49
+ <render_choice>
50
+ <response_label ident="QUE_1009_A1">
51
+ <material>
52
+ <mattext texttype="text/html"><![CDATA[However long it takes]]></mattext>
53
+ </material>
54
+ </response_label>
55
+ <response_label ident="QUE_1010_A2">
56
+ <material>
57
+ <mattext texttype="text/html"><![CDATA[30 - 90 minutes]]></mattext>
58
+ </material>
59
+ </response_label>
60
+ <response_label ident="QUE_1011_A3">
61
+ <material>
62
+ <mattext texttype="text/html"><![CDATA[1 - 2 hours]]></mattext>
63
+ </material>
64
+ </response_label>
65
+ <response_label ident="QUE_1012_A4">
66
+ <material>
67
+ <mattext texttype="text/html"><![CDATA[At least 3 hours]]></mattext>
68
+ </material>
69
+ </response_label>
70
+ <response_label ident="QUE_1013_A5">
71
+ <material>
72
+ <mattext texttype="text/html"><![CDATA[6 or more hours]]></mattext>
73
+ </material>
74
+ </response_label>
75
+ </render_choice>
76
+ </response_lid>
77
+ </presentation>
78
+ <resprocessing>
79
+ <outcomes>
80
+ <decvar vartype="Decimal" maxvalue="10" defaultval="0" varname="que_score"/>
81
+ </outcomes>
82
+ <respcondition>
83
+ <conditionvar>
84
+ <varequal respident="QUE_1008_RL">QUE_1009_A1</varequal>
85
+ </conditionvar>
86
+ <setvar varname="que_score" action="Add">0</setvar>
87
+ </respcondition>
88
+ <respcondition>
89
+ <conditionvar>
90
+ <varequal respident="QUE_1008_RL">QUE_1010_A2</varequal>
91
+ </conditionvar>
92
+ <setvar varname="que_score" action="Add">0</setvar>
93
+ </respcondition>
94
+ <respcondition>
95
+ <conditionvar>
96
+ <varequal respident="QUE_1008_RL">QUE_1011_A3</varequal>
97
+ </conditionvar>
98
+ <setvar varname="que_score" action="Add">0</setvar>
99
+ </respcondition>
100
+ <respcondition>
101
+ <conditionvar>
102
+ <varequal respident="QUE_1008_RL">QUE_1012_A4</varequal>
103
+ </conditionvar>
104
+ <setvar varname="que_score" action="Set">10.00</setvar>
105
+ </respcondition>
106
+ <respcondition>
107
+ <conditionvar>
108
+ <varequal respident="QUE_1008_RL">QUE_1013_A5</varequal>
109
+ </conditionvar>
110
+ <setvar varname="que_score" action="Add">0</setvar>
111
+ </respcondition>
112
+ </resprocessing>
113
+ </item>
114
+ <item title="Discussion - content." ident="QUE_1022">
115
+ <presentation>
116
+ <material>
117
+ <mattext texttype="text/html"><![CDATA[A good discussion posting includes which of the following (select all that apply):]]></mattext>
118
+ </material>
119
+ <response_lid ident="QUE_1023_RL" rcardinality="Multiple" rtiming="No">
120
+ <render_choice>
121
+ <response_label ident="QUE_1024_A1">
122
+ <material>
123
+ <mattext texttype="text/html"><![CDATA[Poses a question or invites additional comment from others]]></mattext>
124
+ </material>
125
+ </response_label>
126
+ <response_label ident="QUE_1025_A2">
127
+ <material>
128
+ <mattext texttype="text/html"><![CDATA[Attacks another's post to generate controversy]]></mattext>
129
+ </material>
130
+ </response_label>
131
+ <response_label ident="QUE_1026_A3">
132
+ <material>
133
+ <mattext texttype="text/html"><![CDATA[Expresses an opinion which may be controversial so that others can agree or disagree]]></mattext>
134
+ </material>
135
+ </response_label>
136
+ <response_label ident="QUE_1027_A4">
137
+ <material>
138
+ <mattext texttype="text/html"><![CDATA[Adds information, ideas or suggestions that expand everyone's thinking about the topic]]></mattext>
139
+ </material>
140
+ </response_label>
141
+ <response_label ident="QUE_1028_A5">
142
+ <material>
143
+ <mattext texttype="text/html"><![CDATA[Reiterates the consensus or restates the ideas of others without adding independent thought]]></mattext>
144
+ </material>
145
+ </response_label>
146
+ <response_label ident="QUE_1029_A6">
147
+ <material>
148
+ <mattext texttype="text/html"><![CDATA[Provides non-specific praise for fellow learners like "good job" or "I loved your idea"]]></mattext>
149
+ </material>
150
+ </response_label>
151
+ <response_label ident="QUE_1030_A7">
152
+ <material>
153
+ <mattext texttype="text/html"><![CDATA[Responds positively to a person's comment and includes their name or quote from the original posting that supports your expanded idea]]></mattext>
154
+ </material>
155
+ </response_label>
156
+ </render_choice>
157
+ </response_lid>
158
+ </presentation>
159
+ <resprocessing>
160
+ <outcomes>
161
+ <decvar vartype="Decimal" defaultval="0" varname="que_score" maxvalue="10.00" minvalue="0"/>
162
+ </outcomes>
163
+ <respcondition>
164
+ <conditionvar>
165
+ <varequal respident="QUE_1023_RL">QUE_1024_A1</varequal>
166
+ </conditionvar>
167
+ <setvar varname="que_score" action="Add">25.00</setvar>
168
+ </respcondition>
169
+ <respcondition>
170
+ <conditionvar>
171
+ <varequal respident="QUE_1023_RL">QUE_1025_A2</varequal>
172
+ </conditionvar>
173
+ <setvar varname="que_score" action="Add">-10.00</setvar>
174
+ </respcondition>
175
+ <respcondition>
176
+ <conditionvar>
177
+ <varequal respident="QUE_1023_RL">QUE_1026_A3</varequal>
178
+ </conditionvar>
179
+ <setvar varname="que_score" action="Add">25.00</setvar>
180
+ </respcondition>
181
+ <respcondition>
182
+ <conditionvar>
183
+ <varequal respident="QUE_1023_RL">QUE_1027_A4</varequal>
184
+ </conditionvar>
185
+ <setvar varname="que_score" action="Add">25.00</setvar>
186
+ </respcondition>
187
+ <respcondition>
188
+ <conditionvar>
189
+ <varequal respident="QUE_1023_RL">QUE_1028_A5</varequal>
190
+ </conditionvar>
191
+ <setvar varname="que_score" action="Add">-10.00</setvar>
192
+ </respcondition>
193
+ <respcondition>
194
+ <conditionvar>
195
+ <varequal respident="QUE_1023_RL">QUE_1029_A6</varequal>
196
+ </conditionvar>
197
+ <setvar varname="que_score" action="Add">-10.00</setvar>
198
+ </respcondition>
199
+ <respcondition>
200
+ <conditionvar>
201
+ <varequal respident="QUE_1023_RL">QUE_1030_A7</varequal>
202
+ </conditionvar>
203
+ <setvar varname="que_score" action="Add">25.00</setvar>
204
+ </respcondition>
205
+ </resprocessing>
206
+ </item>
207
+ </section>
208
+ </assessment>
209
+ </questestinterop>