]> git.somenet.org - pub/jan/dst18.git/blob - ass1-doc/src/test/resources/documents.json
[3.2-linux] geiles non-java zeug!
[pub/jan/dst18.git] / ass1-doc / src / test / resources / documents.json
1 {
2   "documents": [
3     {
4       "material_id": NumberLong(1),
5       "type": "quiz",
6       "quiz_type": "single-choice",
7       "questions": [
8         {
9           "text": "What is the answer to life, the universe and everything?",
10           "choices": [
11             {
12               "text": "42",
13               "points": 1
14             },
15             {
16               "text": "Leeloo Minai Lekatariba-Lamina-Tchai Ekbat De Sebat",
17               "points": 0
18             }
19           ]
20         },
21         {
22           "text": "Only you and DEAD people can read Hex. How many perople can read Hex?",
23           "choices": [
24             {
25               "text": "1",
26               "points": 0
27             },
28             {
29               "text": "0",
30               "points": 0
31             },
32             {
33               "text": "57006",
34               "points": 1
35             },
36             {
37               "text": "Dead people can't read!",
38               "points": 0
39             }
40           ]
41         },
42         {
43           "text": "What are the first 6 numbers of pi?",
44           "choices": [
45             {
46               "text": "It's spelled pie!",
47               "points": 0
48             },
49             {
50               "text": "There aren't any numbers in pie!",
51               "points": 0
52             },
53             {
54               "text": "3.14159",
55               "points": 1
56             },
57             {
58               "text": "3.14158",
59               "points": 0
60             },
61             {
62               "text": "3.14157",
63               "points": 0
64             }
65           ]
66         }
67       ]
68     },
69     {
70       "material_id": NumberLong(2),
71       "type": "quiz",
72       "quiz_type": "text",
73       "questions": [
74         {
75           "text": "Explain the concept of life.",
76           "points": 30
77         },
78         {
79           "text": "Explain what Shakespeare thought of the uneducated groundlings who gathered during every performance?",
80           "points": 10
81         },
82         {
83           "text": "Explain what happens to the cell cycle if both p53 alleles are mutated?",
84           "points": 20
85         },
86         {
87           "text": "How exactly does the rabies pathogen work?",
88           "points": 10
89         },
90         {
91           "text": "Why do we use gradient descent to solve optimization problems, when we can just derive the function and make it equals to zero?",
92           "points": 10
93         },
94         {
95           "text": "What is the suns 11 years cycle and how does it work?",
96           "points": 10
97         },
98         {
99           "text": "How do magnets exist without violating the law of conservation of energy?",
100           "points": 10
101         }
102       ]
103     },
104     {
105       "material_id": NumberLong(3),
106       "type": "quiz",
107       "quiz_type": "multiple-choice",
108       "questions": [
109         {
110           "text": "i is an initialized int-variable. Which Java-expressions are side-effect free?",
111           "choices": [
112             {
113               "text": "i >> 2",
114               "points": 25
115             },
116             {
117               "text": "i++",
118               "points": 0
119             },
120             {
121               "text": "i * i",
122               "points": 25
123             },
124             {
125               "text": "i *= i",
126               "points": 0
127             },
128             {
129               "text": "i > 0 ? i : -i",
130               "points": 25
131             },
132             {
133               "text": "i > 0 ? i & 1 : i | 1",
134               "points": 25
135             }
136           ]
137         }
138       ]
139     },
140     {
141       "material_id": NumberLong(4),
142       "type": "description",
143       "text": "This is just some random description in order to have some other types than quizes ;)"
144     },
145     {
146       "material_id": NumberLong(5),
147       "type": "quiz",
148       "quiz_type": "single-choice",
149       "questions": [
150         {
151           "text": "How many planets are in our solar system?",
152           "choices": [
153             {
154               "text": "5",
155               "points": 0
156             },
157             {
158               "text": "6",
159               "points": 0
160             },
161             {
162               "text": "7",
163               "points": 0
164             },
165             {
166               "text": "8",
167               "points": 1
168             },
169             {
170               "text": "9",
171               "points": 0
172             },
173             {
174               "text": "10",
175               "points": 0
176             }
177           ]
178         }
179       ]
180     }
181   ]
182 }