-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.quiz
183 lines (174 loc) · 5.27 KB
/
demo.quiz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
// example quiz text
// <- (this is a comment and will be ignored)
// this is the url for your quiz
"url": "http://so-cool.github.io/quick-quiz/",
// this are your UoB candidate numbers as a comma separated list
"candidate_number": [12345, 54321],
// this is the title of the quiz
"title": "Quizk-quiz show-off.",
// this is an example question.
// the number signifies the question order,
// meaning questions can be placed in random order
// within the file
"1": {
"difficulty": "1",
"reference": "5.2",
"problem_type": "definitions",
"question": "Which of the following is $\\LaTeX$ \
equation\
?",
"images": [
{ "url": "img/unicorn.jpg",
"caption": "my caption"
},
{ "url": "img/unicorn.jpg"}
],
// these are answers, a correct answer
// is indicated by a "+", incorrect answer has a "-"
"answer_type": "single",
"answers": [
{ "correctness": "-",
"answer": "2 * 2"
},
{ "correctness": "-",
"answer": "2 - 3"
},
{ "correctness": "+",
"answer": "$\\frac{7}{2} + 3$",
"explanation": "why this answer is correct"
},
{ "correctness": "-",
"answer": "seven plus two"
}
],
"hint": "you do the math",
"workings": "how to arrive at the correct answer and why all the others are incorrect",
"source": "wikipedia url",
"comments": "What's special about this question?"
},
"2": {
"difficulty": "5",
"reference": "2.2",
"problem_type": "calculations",
"question": "Mark all the letters:",
"answer_type": "multiple",
"answers": [
{ "correctness": "+",
"answer": "T",
"explanation": "why this answer is correct"
},
{ "correctness": "+",
"answer": "F",
"explanation": "why this answer is correct"
},
{ "correctness": "-",
"answer": "7"
},
{ "correctness": "-",
"answer": "<img src=\"img/unicorn.jpg\" style=\"width:304px;height:228px;\">"
},
{ "correctness": "+",
"answer": "W",
"explanation": "why this answer is correct"
}
],
"hint": "you do the alphabet",
"workings": "how to arrive at the correct answer and why all the others are incorrect",
"source": "some book",
"comments": "What's special about this question?"
},
"3": {
"difficulty": "2",
"reference": "12.2",
"problem_type": "beyond scope of the book",
"question": "Order the following numbers:",
"answer_type": "sort",
"answers": [
{ "correctness": "2",
"answer": "26",
"explanation": "why this order is correct"
},
{ "correctness": "1",
"answer": "19",
"explanation": "why this order is correct"
},
{ "correctness": "3",
"answer": "70",
"explanation": "why this order is correct"
}
],
"hint": "you do the alphabet",
"workings": "how to arrive at the correct answer and why all the others are incorrect",
"source": "some book",
"comments": "What's special about this question?"
},
"4": {
"difficulty": "4",
"reference": "3.3",
"problem_type": "beyond scope of the book",
"answer_type": "blank_answer",
"question": [
"$2+2$ is ", 1, ". ",
"What colour is a red truck: ", 2, "."
],
"answers": [
{ "correctness": 1,
"answer": "4",
"explanation": "why this answer is correct"
},
{ "correctness": 2,
"answer": "red",
"explanation": "why this answer is correct"
}
],
"hint": "you do the alphabet",
"workings": "how to arrive at the correct answer and why all the others are incorrect",
"source": "some book",
"comments": "What's special about this question?"
},
"5": {
"difficulty": "3",
"reference": "3.3",
"problem_type": "beyond scope of the book",
"question": "Fill in contingency matrix.<br><br>1TP<br>5TN<br>12 in total<br>5 actual positive",
"answer_type": "cloze_answer",
"answers": {
"answer": ["1 | 4 | 5 ",
"----------",
"2 | 5 | 7 ",
"----------",
"3 | 9 | 12"],
"explanation": "why this answer is correct"
},
"hint": "you do the alphabet",
"workings": "how to arrive at the correct answer and why all the others are incorrect",
"source": "some book",
"comments": "What's special about this question?"
},
"6": {
"difficulty": "5",
"reference": "3.3",
"problem_type": "beyond scope of the book",
"question": "Match the following sentences.",
"answer_type": "matrix_sort_answer",
"answers": [
{ "correctness": "The letter after 'a' is ",
"answer": "'B'.",
"explanation": "why this answer is correct"
},
{ "correctness": "The letter after 'g' is ",
"answer": "'H'.",
"explanation": "why this answer is correct"
},
{ "correctness": "I like ",
"answer": "alphabet.",
"explanation": "why this answer is correct"
}
],
"hint": "you do the alphabet",
"workings": "how to arrive at the correct answer and why all the others are incorrect",
"source": "some book",
"comments": "What's special about this question?"
}
}