MDL-34738 load sample dat file in tests
[moodle.git] / question / format / blackboard / tests / fixtures / sample_blackboard.dat
CommitLineData
8a8dd7d8
JMV
1<?xml version='1.0' encoding='utf-8'?>\r
2<POOL>\r
3 <TITLE value='exam 3 2008-9'/>\r
4 <QUESTIONLIST>\r
5 <QUESTION id='q1' class='QUESTION_TRUEFALSE' points='1'/>\r
6 <QUESTION id='q7' class='QUESTION_MULTIPLECHOICE' points='1'/>\r
7 <QUESTION id='q8' class='QUESTION_MULTIPLEANSWER' points='1'/>\r
8 <QUESTION id='q39-44' class='QUESTION_MATCH' points='1'/>\r
9 <QUESTION id='q9' class='QUESTION_ESSAY' points='1'/>\r
10 <QUESTION id='q27' class='QUESTION_FILLINBLANK' points='1'/>\r
11 </QUESTIONLIST>\r
12 <QUESTION_TRUEFALSE id='q1'>\r
13 <BODY>\r
14 <TEXT><![CDATA[<span style="font-size:12pt">42 is the Absolute Answer to everything.</span>]]></TEXT>\r
15 <FLAGS>\r
16 <ISHTML value='true'/>\r
17 <ISNEWLINELITERAL value='false'/>\r
18 </FLAGS>\r
19 </BODY>\r
20 <ANSWER id='q1_a1'>\r
21 <TEXT>False</TEXT>\r
22 </ANSWER>\r
23 <ANSWER id='q1_a2'>\r
24 <TEXT>True</TEXT>\r
25 </ANSWER>\r
26 <GRADABLE>\r
27 <CORRECTANSWER answer_id='q1_a2'/>\r
28 <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>\r
29 <FEEDBACK_WHEN_INCORRECT><![CDATA[42 is the Ultimate Answer.]]></FEEDBACK_WHEN_INCORRECT>\r
30 </GRADABLE>\r
31 </QUESTION_TRUEFALSE>\r
32 <QUESTION_MULTIPLECHOICE id='q7'>\r
33 <BODY>\r
34 <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>\r
35 <FLAGS>\r
36 <ISHTML value='true'/>\r
37 <ISNEWLINELITERAL value='false'/>\r
38 </FLAGS>\r
39 </BODY>\r
40 <ANSWER id='q7_a1' position='1'>\r
41 <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>\r
42 </ANSWER>\r
43 <ANSWER id='q7_a2' position='2'>\r
44 <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>\r
45 </ANSWER>\r
46 <ANSWER id='q7_a3' position='3'>\r
47 <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>\r
48 </ANSWER>\r
49 <GRADABLE>\r
50 <CORRECTANSWER answer_id='q7_a2'/>\r
51 <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>\r
52 <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow is between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>\r
53 </GRADABLE>\r
54 </QUESTION_MULTIPLECHOICE>\r
55 <QUESTION_MULTIPLEANSWER id='q8'>\r
56 <BODY>\r
57 <TEXT><![CDATA[<span style="font-size:12pt">What's between orange and green in the spectrum?</span>]]></TEXT>\r
58 <FLAGS>\r
59 <ISHTML value='true'/>\r
60 <ISNEWLINELITERAL value='false'/>\r
61 </FLAGS>\r
62 </BODY>\r
63 <ANSWER id='q8_a1' position='1'>\r
64 <TEXT><![CDATA[<span style="font-size:12pt">yellow</span>]]></TEXT>\r
65 </ANSWER>\r
66 <ANSWER id='q8_a2' position='2'>\r
67 <TEXT><![CDATA[<span style="font-size:12pt">red</span>]]></TEXT>\r
68 </ANSWER>\r
69 <ANSWER id='q8_a3' position='3'>\r
70 <TEXT><![CDATA[<span style="font-size:12pt">off-beige</span>]]></TEXT>\r
71 </ANSWER>\r
72 <ANSWER id='q8_a4' position='4'>\r
73 <TEXT><![CDATA[<span style="font-size:12pt">blue</span>]]></TEXT>\r
74 </ANSWER>\r
75 <GRADABLE>\r
76 <CORRECTANSWER answer_id='q8_a1'/>\r
77 <CORRECTANSWER answer_id='q8_a3'/>\r
78 <FEEDBACK_WHEN_CORRECT><![CDATA[You gave the right answer.]]></FEEDBACK_WHEN_CORRECT>\r
79 <FEEDBACK_WHEN_INCORRECT><![CDATA[Only yellow and off-beige are between orange and green in the spectrum.]]></FEEDBACK_WHEN_INCORRECT>\r
80 </GRADABLE>\r
81 </QUESTION_MULTIPLEANSWER>\r
82 <QUESTION_MATCH id='q39-44'>\r
83 <BODY>\r
84 <TEXT><![CDATA[<i>Classify the animals.</i>]]></TEXT>\r
85 <FLAGS>\r
86 <ISHTML value='true'/>\r
87 <ISNEWLINELITERAL value='false'/>\r
88 </FLAGS>\r
89 </BODY>\r
90 <ANSWER id='q39-44_a1' position='1'>\r
91 <TEXT><![CDATA[frog]]></TEXT>\r
92 </ANSWER>\r
93 <ANSWER id='q39-44_a2' position='2'>\r
94 <TEXT><![CDATA[cat]]></TEXT>\r
95 </ANSWER>\r
96 <ANSWER id='q39-44_a3' position='3'>\r
97 <TEXT><![CDATA[newt]]></TEXT>\r
98 </ANSWER>\r
99 <CHOICE id='q39-44_c1' position='1'>\r
100 <TEXT><![CDATA[mammal]]></TEXT>\r
101 </CHOICE>\r
102 <CHOICE id='q39-44_c2' position='2'>\r
103 <TEXT><![CDATA[insect]]></TEXT>\r
104 </CHOICE>\r
105 <CHOICE id='q39-44_c3' position='3'>\r
106 <TEXT><![CDATA[amphibian]]></TEXT>\r
107 </CHOICE>\r
108 <GRADABLE>\r
109 <CORRECTANSWER answer_id='q39-44_a1' choice_id='q39-44_c3'/>\r
110 <CORRECTANSWER answer_id='q39-44_a2' choice_id='q39-44_c1'/>\r
111 <CORRECTANSWER answer_id='q39-44_a3' choice_id='q39-44_c3'/>\r
112 </GRADABLE>\r
113 </QUESTION_MATCH>\r
114 <QUESTION_ESSAY id='q9'>\r
115 <BODY>\r
116 <TEXT><![CDATA[How are you?]]></TEXT>\r
117 <FLAGS>\r
118 <ISHTML value='true'/>\r
119 <ISNEWLINELITERAL value='false'/>\r
120 </FLAGS>\r
121 </BODY>\r
122 <ANSWER id='q9_a1'>\r
123 <TEXT><![CDATA[Blackboard answer for essay questions will be imported as informations for graders.]]></TEXT>\r
124 </ANSWER>\r
125 <GRADABLE>\r
126 </GRADABLE>\r
127 </QUESTION_ESSAY>\r
128 <QUESTION_FILLINBLANK id='q27'>\r
129 <BODY>\r
f3ad0ed2 130 <TEXT><![CDATA[<span style="font-size:12pt">Name an amphibian: __________.</span>]]></TEXT>\r
8a8dd7d8
JMV
131 <FLAGS>\r
132 <ISHTML value='true'/>\r
133 <ISNEWLINELITERAL value='false'/>\r
134 </FLAGS>\r
135 </BODY>\r
136 <ANSWER id='q27_a1' position='1'>\r
137 <TEXT>frog</TEXT>\r
138 </ANSWER>\r
139 <GRADABLE>\r
140 </GRADABLE>\r
141 </QUESTION_FILLINBLANK>\r
142</POOL>\r