Changeset View
Changeset View
Standalone View
Standalone View
src/activities/calendar/calendar_dataset.js
Show All 32 Lines | 32 | return [ | |||
---|---|---|---|---|---|
33 | [ // Level 1 | 33 | [ // Level 1 | ||
34 | [ // Level 1 Configurations | 34 | [ // Level 1 Configurations | ||
35 | { | 35 | { | ||
36 | "navigationBarVisible" : false, | 36 | "navigationBarVisible" : false, | ||
37 | "minimumDate": "2018-03-01", | 37 | "minimumDate": "2018-03-01", | ||
38 | "maximumDate": "2018-03-31", | 38 | "maximumDate": "2018-03-31", | ||
39 | "visibleMonth": 2, | 39 | "visibleMonth": 2, | ||
40 | "visibleYear": 2018, | 40 | "visibleYear": 2018, | ||
41 | "mode": "findDay" | 41 | "mode": "findDay", | ||
42 | "questionsExplicitly": false | ||||
42 | } | 43 | } | ||
43 | ], | 44 | ], | ||
44 | [ // Level 1 Questions | 45 | [ // Level 1 Questions | ||
45 | { | 46 | { | ||
46 | "question": qsTr("Select day 23"), | 47 | "question": qsTr("Select day 23"), | ||
47 | "answer": {"year": 2018, "month": 2, "day": 23} | 48 | "answer": {"year": 2018, "month": 2, "day": 23} | ||
48 | }, | 49 | }, | ||
49 | { | 50 | { | ||
Show All 23 Lines | |||||
73 | [ // Level 2 | 74 | [ // Level 2 | ||
74 | [ // Level 2 Configurations | 75 | [ // Level 2 Configurations | ||
75 | { | 76 | { | ||
76 | "navigationBarVisible" : false, | 77 | "navigationBarVisible" : false, | ||
77 | "minimumDate": "2018-03-01", | 78 | "minimumDate": "2018-03-01", | ||
78 | "maximumDate": "2018-03-31", | 79 | "maximumDate": "2018-03-31", | ||
79 | "visibleMonth": 2, | 80 | "visibleMonth": 2, | ||
80 | "visibleYear": 2018, | 81 | "visibleYear": 2018, | ||
81 | "mode": "findDayOfWeek" | 82 | "mode": "findDayOfWeek", | ||
83 | "questionsExplicitly": false | ||||
82 | } | 84 | } | ||
83 | ], | 85 | ], | ||
84 | [ // Level 2 Questions | 86 | [ // Level 2 Questions | ||
85 | { | 87 | { | ||
86 | "question": qsTr("What day of week is the 4th of given month?"), | 88 | "question": qsTr("What day of week is the 4th of given month?"), | ||
87 | "answer": {"dayOfWeek": 0} | 89 | "answer": {"dayOfWeek": 0} | ||
88 | }, | 90 | }, | ||
89 | { | 91 | { | ||
Show All 26 Lines | |||||
116 | [ // Level 3 | 118 | [ // Level 3 | ||
117 | [ // Level 3 configurations | 119 | [ // Level 3 configurations | ||
118 | { | 120 | { | ||
119 | "navigationBarVisible": false, | 121 | "navigationBarVisible": false, | ||
120 | "minimumDate": "2018-03-01", | 122 | "minimumDate": "2018-03-01", | ||
121 | "maximumDate": "2018-03-31", | 123 | "maximumDate": "2018-03-31", | ||
122 | "visibleMonth": 2, | 124 | "visibleMonth": 2, | ||
123 | "visibleYear": 2018, | 125 | "visibleYear": 2018, | ||
124 | "mode": "findDay" | 126 | "mode": "findDay", | ||
127 | "questionsExplicitly": false | ||||
125 | } | 128 | } | ||
126 | ], | 129 | ], | ||
127 | 130 | | |||
128 | [ // Level 3 Questions | 131 | [ // Level 3 Questions | ||
129 | { | 132 | { | ||
130 | "question": qsTr("Select a Monday between days 1 and 7 of given month"), | 133 | "question": qsTr("Select a Monday between days 1 and 7 of given month"), | ||
131 | "answer": {"year": 2018, "month": 2, "day": 5} | 134 | "answer": {"year": 2018, "month": 2, "day": 5} | ||
132 | }, | 135 | }, | ||
Show All 27 Lines | |||||
160 | [ // level 4 | 163 | [ // level 4 | ||
161 | [ // Level 4 Configurations | 164 | [ // Level 4 Configurations | ||
162 | { | 165 | { | ||
163 | "navigationBarVisible" : false, | 166 | "navigationBarVisible" : false, | ||
164 | "minimumDate": "2018-03-01", | 167 | "minimumDate": "2018-03-01", | ||
165 | "maximumDate": "2018-03-31", | 168 | "maximumDate": "2018-03-31", | ||
166 | "visibleMonth": 2, | 169 | "visibleMonth": 2, | ||
167 | "visibleYear": 2018, | 170 | "visibleYear": 2018, | ||
168 | "mode": "findDay" | 171 | "mode": "findDay", | ||
172 | "questionsExplicitly": false | ||||
169 | } | 173 | } | ||
170 | ], | 174 | ], | ||
171 | [ // Level 4 Questions | 175 | [ // Level 4 Questions | ||
172 | { | 176 | { | ||
173 | "question": qsTr("Select second day before the 15th of given month"), | 177 | "question": qsTr("Select second day before the 15th of given month"), | ||
174 | "answer": {"year": 2018, "month": 2, "day": 13} | 178 | "answer": {"year": 2018, "month": 2, "day": 13} | ||
175 | }, | 179 | }, | ||
176 | { | 180 | { | ||
Show All 18 Lines | |||||
195 | [ // Level 5 | 199 | [ // Level 5 | ||
196 | [ // Level 5 Configurations | 200 | [ // Level 5 Configurations | ||
197 | { | 201 | { | ||
198 | "navigationBarVisible" : true, | 202 | "navigationBarVisible" : true, | ||
199 | "minimumDate": "2018-01-01", | 203 | "minimumDate": "2018-01-01", | ||
200 | "maximumDate": "2018-12-31", | 204 | "maximumDate": "2018-12-31", | ||
201 | "visibleMonth": 1, | 205 | "visibleMonth": 1, | ||
202 | "visibleYear": 2018, | 206 | "visibleYear": 2018, | ||
203 | "mode": "findMonthOnly" | 207 | "mode": "findMonthOnly", | ||
208 | "questionsExplicitly": false | ||||
204 | } | 209 | } | ||
205 | ], | 210 | ], | ||
206 | [ // Level 5 Questions | 211 | [ // Level 5 Questions | ||
207 | { | 212 | { | ||
208 | "question": qsTr("Find the month starting a Thursday and having 28 days"), | 213 | "question": qsTr("Find the month starting a Thursday and having 28 days"), | ||
209 | "answer": {"month": [1]} | 214 | "answer": {"month": [1]} | ||
210 | }, | 215 | }, | ||
211 | { | 216 | { | ||
Show All 14 Lines | |||||
226 | } | 231 | } | ||
227 | ] | 232 | ] | ||
228 | ], | 233 | ], | ||
229 | 234 | | |||
230 | [ // level 6 | 235 | [ // level 6 | ||
231 | [ // Level 6 Configurations | 236 | [ // Level 6 Configurations | ||
232 | { | 237 | { | ||
233 | "navigationBarVisible" : true, | 238 | "navigationBarVisible" : true, | ||
234 | "minimumDate": "2017-01-01", | 239 | "minimumDate": "2018-09-01", | ||
235 | "maximumDate": "2019-12-31", | 240 | "maximumDate": "2019-01-31", | ||
236 | "visibleMonth": 2, | 241 | "visibleMonth": 10, | ||
237 | "visibleYear": 2018, | 242 | "visibleYear": 2018, | ||
238 | "mode": "findYearMonthDay" | 243 | "mode": "findYearMonthDay", | ||
244 | "questionsExplicitly": true, | ||||
245 | "maxOffset": 30, | ||||
239 | } | 246 | } | ||
240 | 247 | | |||
241 | ], | 248 | ], | ||
242 | [ // Level 6 Questions | 249 | [ // Level 6 Questions | ||
243 | { | 250 | { | ||
244 | "question": qsTr("Find the first Monday of January month of year 2019"), | 251 | "question": qsTr("Find the first Monday of January month of year 2019"), | ||
245 | "answer": {"year": 2019, "month": 0, "day": 7} | 252 | "answer": {"year": 2019, "month": 0, "day": 7} | ||
246 | }, | 253 | }, | ||
Show All 35 Lines | |||||
282 | [ // Level 7 | 289 | [ // Level 7 | ||
283 | [ // Level 7 Configurations | 290 | [ // Level 7 Configurations | ||
284 | { | 291 | { | ||
285 | "navigationBarVisible" : true, | 292 | "navigationBarVisible" : true, | ||
286 | "minimumDate": "2017-01-01", | 293 | "minimumDate": "2017-01-01", | ||
287 | "maximumDate": "2019-12-31", | 294 | "maximumDate": "2019-12-31", | ||
288 | "visibleMonth": 1, | 295 | "visibleMonth": 1, | ||
289 | "visibleYear": 2018, | 296 | "visibleYear": 2018, | ||
290 | "mode": "findYearMonthDay" | 297 | "mode": "findYearMonthDay", | ||
298 | "questionsExplicitly": true | ||||
291 | } | 299 | } | ||
292 | ], | 300 | ], | ||
293 | [ // Level 7 Questions | 301 | [ // Level 7 Questions | ||
294 | { | 302 | { | ||
295 | "question": qsTr("Human Rights Day is celebrated five days after December 5.<br> Find the date of Human Rights Day in 2017."), | 303 | "question": qsTr("Human Rights Day is celebrated five days after December 5.<br> Find the date of Human Rights Day in 2017."), | ||
296 | "answer": {"year": 2017, "month": 11, "day": 10} | 304 | "answer": {"year": 2017, "month": 11, "day": 10} | ||
297 | }, | 305 | }, | ||
298 | { | 306 | { | ||
Show All 19 Lines |