1
/* GCompris - calendar_dataset.js
3
* Copyright (C) 2017 Amit Sagtani <asagtani06@gmail.com>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, see <https://www.gnu.org/licenses/>.
19
// Contains the questions, answers and calendar configurations of every level.
20
// Add more levels by inserting questions and answers below.
21
// Days of weeks are indexed from 0 i.e (Sunday = 0, Monday = 1, Tuesday = 2, .... ..... .... , Saturday = 6)
22
// Months of year are indexed from 0 i.e (January = 0, February = 1, March = 2, .... ..... ...., December = 11)
25
// findMonthOnly --> For questions based on finding month only.
26
// findYearMonthDay --> For questions based on finding year, month and day.
27
// findDayOfWeek --> For questions based on finding day of week only.
28
// findDay --> For questions based on finding day of a given month and year.
34
[ // Level 1 Configurations
36
"navigationBarVisible" : false,
37
"minimumDate": "2018-03-01",
38
"maximumDate": "2018-03-31",
44
[ // Level 1 Questions
46
"question": qsTr("Select day 23"),
47
"answer": {"year": 2018, "month": 2, "day": 23}
50
"question": qsTr("Select day 1"),
51
"answer": {"year": 2018, "month": 2, "day": 1}
54
"question": qsTr("Select day 16"),
55
"answer": {"year": 2018, "month": 2, "day": 16}
58
"question": qsTr("Select day 28"),
59
"answer": {"year": 2018, "month": 2, "day": 28}
62
"question": qsTr("Select day 11"),
63
"answer": {"year": 2018, "month": 2, "day": 11}
66
"question": qsTr("Select day 20"),
67
"answer": {"year": 2018, "month": 2, "day": 20}
74
[ // Level 2 Configurations
76
"navigationBarVisible" : false,
77
"minimumDate": "2018-03-01",
78
"maximumDate": "2018-03-31",
81
"mode": "findDayOfWeek"
84
[ // Level 2 Questions
86
"question": qsTr("What day of week is the 4th of given month?"),
87
"answer": {"dayOfWeek": 0}
90
"question": qsTr("What day of the week is the 12th of given month?"),
91
"answer": {"dayOfWeek": 1}
94
"question": qsTr("What day of the week is the 20th of given month?"),
95
"answer": {"dayOfWeek": 2}
98
"question": qsTr("What day of the week is the 28th of given month?"),
99
"answer": {"dayOfWeek": 3}
102
"question": qsTr("What day of the week is the 22nd of given month?"),
103
"answer": {"dayOfWeek": 4}
106
"question": qsTr("What day of the week is the 16th of given month?"),
107
"answer": {"dayOfWeek": 5}
110
"question": qsTr("What day of the week is the 10th of given month?"),
111
"answer": {"dayOfWeek": 6}
117
[ // Level 3 configurations
119
"navigationBarVisible": false,
120
"minimumDate": "2018-03-01",
121
"maximumDate": "2018-03-31",
128
[ // Level 3 Questions
130
"question": qsTr("Select a Monday between days 1 and 7 of given month"),
131
"answer": {"year": 2018, "month": 2, "day": 5}
134
"question": qsTr("Select a Tuesday between days 8 and 16 of given month"),
135
"answer": {"year": 2018, "month": 2, "day": 13}
138
"question": qsTr("Select a Wednesday between days 15 and 22 of given month"),
139
"answer": {"year": 2018, "month": 2, "day": 21}
142
"question": qsTr("Select a Thursday between days 26 and 31 of given month"),
143
"answer": {"year": 2018, "month": 2, "day": 29}
146
"question": qsTr("Select a Friday between days 20 and 25 of given month"),
147
"answer": {"year": 2018, "month": 2, "day": 23}
150
"question": qsTr("Select a Saturday between days 13 and 23 of given month"),
151
"answer": {"year": 2018, "month": 2, "day": 17}
154
"question": qsTr("Select a Sunday between days 5 and 17 of given month"),
155
"answer": {"year": 2018, "month": 2, "day": 11}
161
[ // Level 4 Configurations
163
"navigationBarVisible" : false,
164
"minimumDate": "2018-03-01",
165
"maximumDate": "2018-03-31",
171
[ // Level 4 Questions
173
"question": qsTr("Select second day before the 15th of given month"),
174
"answer": {"year": 2018, "month": 2, "day": 13}
177
"question": qsTr("Select fourth Sunday of given month"),
178
"answer": {"year": 2018, "month": 2, "day": 25}
181
"question": qsTr("Select day one week after 13th of given month"),
182
"answer": {"year": 2018, "month": 2, "day": 20}
185
"question": qsTr("Select fifth Thursday of given month"),
186
"answer": {"year": 2018, "month": 2, "day": 29}
189
"question": qsTr("Select third day after 27th of given month"),
190
"answer": {"year": 2018, "month": 2, "day": 30}
196
[ // Level 5 Configurations
198
"navigationBarVisible" : true,
199
"minimumDate": "2018-01-01",
200
"maximumDate": "2018-12-31",
203
"mode": "findMonthOnly"
206
[ // Level 5 Questions
208
"question": qsTr("Find the month starting a Thursday and having 28 days"),
209
"answer": {"month": [1]}
212
"question": qsTr("Find a month starting a Monday and having 31 days"),
213
"answer": {"month": [0, 9]}
216
"question": qsTr("Find the month between June and August"),
217
"answer": {"month": [6]}
220
"question": qsTr("Find a month starting a Saturday"),
221
"answer": {"month": [8, 11]}
224
"question": qsTr("Find a month having 30 days"),
225
"answer": {"month": [3, 5, 8, 10]}
231
[ // Level 6 Configurations
233
"navigationBarVisible" : true,
234
"minimumDate": "2017-01-01",
235
"maximumDate": "2019-12-31",
238
"mode": "findYearMonthDay"
242
[ // Level 6 Questions
244
"question": qsTr("Find the first Monday of January month of year 2019"),
245
"answer": {"year": 2019, "month": 0, "day": 7}
248
"question": qsTr("Find the second Wednesday of February month of year 2019"),
249
"answer": {"year": 2019, "month": 1, "day": 13}
252
"question": qsTr("Find the third Friday of March month of year 2019"),
253
"answer": {"year": 2019, "month": 2, "day": 15}
256
"question": qsTr("Find the fifth Sunday of April month of year 2018"),
257
"answer": {"year": 2018, "month": 3, "day": 29}
260
"question": qsTr("Find the fourth Tuesday of July month of year 2018"),
261
"answer": {"year": 2018, "month": 6, "day": 24}
264
"question": qsTr("Find the first Monday of August month of year 2018"),
265
"answer": {"year": 2018, "month": 7, "day": 6}
268
"question": qsTr("Find the third Thursday of September month of year 2017"),
269
"answer": {"year": 2017, "month": 8, "day": 21}
272
"question": qsTr("Find the fifth Sunday of October month of year 2017"),
273
"answer": {"year": 2017, "month": 9, "day": 29}
276
"question": qsTr("Find the second Friday of December month of year 2017"),
277
"answer": {"year": 2017, "month": 11, "day": 8}
283
[ // Level 7 Configurations
285
"navigationBarVisible" : true,
286
"minimumDate": "2017-01-01",
287
"maximumDate": "2019-12-31",
290
"mode": "findYearMonthDay"
293
[ // Level 7 Questions
295
"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}
299
"question": qsTr("Braille Day is celebrated one day before January 5.<br> Find the date of Braille Day in 2018"),
300
"answer": {"year": 2018, "month": 0, "day": 4}
303
"question": qsTr("Mark's birthday is on November 4. In 2017 his party was exactly two weeks later.<br> Find the date of his party in 2017"),
304
"answer": {"year": 2017, "month": 10, "day": 18}
307
"question": qsTr("International Women's Day is celebrated two days before March 10.<br> Find the date of International Women's Day in 2018."),
308
"answer": {"year": 2018, "month": 2, "day": 8}
311
"question": qsTr("Sports competition was held on last Friday of September 2017.<br> Select the date of sports competition on the calendar."),
312
"answer": {"year": 2017, "month": 8, "day": 29}