Warning, /education/gcompris/src/activities/scalesboard_weight_avoirdupois/resource/5/Data.qml is written in an unsupported language. File is not indexed.
0001 /* GCompris - Data.qml
0002 *
0003 * SPDX-FileCopyrightText: 2020 Deepak Kumar <deepakdk2431@gmail.com>
0004 *
0005 * Authors:
0006 * Deepak Kumar <deepakdk2431@gmail.com>
0007 *
0008 * SPDX-License-Identifier: GPL-3.0-or-later
0009 */
0010 import GCompris 1.0
0011
0012 Data {
0013 objective: qsTr("Balance up to 100 ounces.")
0014 difficulty: 4
0015
0016 function oz(value) {
0017 /* oz == ounce */
0018 return qsTr("%1 oz").arg(value)
0019 }
0020
0021 data: [
0022 {
0023 "masses": [[3, oz(3)], [5, oz(5)], [7, oz(7)], [8, oz(8)], [9, oz(9)], [2, oz(2)], [5, oz(5)]],
0024 "targets": [[8, oz(8)], [13, oz(13)], [15, oz(15)], [17, oz(17)], [20, oz(20)], [10, oz(10)], [11, oz(11)]],
0025 "rightDrop": false,
0026 "message": qsTr('The "oz" symbol at the end of a number means ounce. \n Drop weights on the left side to balance the scales.')
0027 },
0028 {
0029 "masses": [[10, oz(10)], [11, oz(11)], [14, oz(14)], [5, oz(5)], [15, oz(15)], [13, oz(13)], [12, oz(12)]],
0030 "targets": [[22, oz(22)], [28, oz(28)], [19, oz(19)], [30, oz(30)], [20, oz(20)], [25, oz(25)], [27, oz(27)]],
0031 "rightDrop": false,
0032 "message": qsTr("Drop weights on the left side to balance the scales.")
0033 },
0034 {
0035 "masses": [[20, oz(20)], [28, oz(28)], [30, oz(30)], [12, oz(12)], [17, oz(17)], [29, oz(29)], [15, oz(15)]],
0036 "targets": [[35, oz(35)], [48, oz(48)], [40, oz(40)], [50, oz(50)], [37, oz(37)], [49, oz(49)], [43, oz(43)]],
0037 "rightDrop": false,
0038 "message": qsTr("Drop weights on the left side to balance the scales.")
0039 },
0040 {
0041 "masses": [[50, oz(50)], [28, oz(28)], [15, oz(15)], [10, oz(10)], [17, oz(17)], [29, oz(29)], [28, oz(28)]],
0042 "targets": [[65, oz(65)], [78, oz(78)], [60, oz(60)], [94, oz(94)], [77, oz(77)], [85, oz(85)], [89, oz(89)]],
0043 "rightDrop": false,
0044 "message": qsTr("Drop weights on the left side to balance the scales.")
0045 },
0046 {
0047 "masses": [[20, oz(20)], [14, oz(14)], [21, oz(21)], [13, oz(13)], [14, oz(14)], [22, oz(22)], [12, oz(12)]],
0048 "targets": [[23, oz(23)], [25, oz(25)], [29, oz(29)], [30, oz(30)],[17, oz(17)]],
0049 "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0050 "rightDrop": true
0051 },
0052 {
0053 "masses": [[8, oz(8)], [6, oz(6)], [15, oz(15)], [10, oz(10)], [25, oz(25)], [23, oz(23)], [24, oz(24)]],
0054 "targets": [[42, oz(42)], [41, oz(41)], [39, oz(39)], [40, oz(40)]],
0055 "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0056 "rightDrop": true
0057 },
0058 {
0059 "masses": [[50, oz(50)], [7, oz(7)], [18, oz(18)], [22, oz(22)], [24, oz(24)], [20, oz(20)], [13, oz(13)]],
0060 "targets": [[83, oz(83)], [81, oz(81)], [79, oz(79)], [87, oz(87)]],
0061 "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0062 "rightDrop": true
0063 },
0064 {
0065 "masses": [[11, oz(11)], [6, oz(6)], [2, oz(2)], [12, oz(12)], [13, oz(13)], [9, oz(9)], [10, oz(10)]],
0066 "targets": [[17, oz(17)], [29, oz(29)], [23, oz(23)], [25, oz(25)], [21, oz(21)]],
0067 "rightDrop": false,
0068 "message": qsTr("Now you have to guess the weight of the gift."),
0069 "question": qsTr("Enter the weight of the gift in ounce: %1")
0070 },
0071 {
0072 "masses": [[23, oz(23)], [22, oz(22)], [30, oz(30)], [8, oz(8)], [24, oz(24)], [22, oz(22)], [20, oz(20)]],
0073 "targets": [[44, oz(44)], [38, oz(38)], [50, oz(50)], [31, oz(31)], [47, oz(47)], [43, oz(43)], [30, oz(30)]],
0074 "rightDrop": false,
0075 "message": qsTr("Now you have to guess the weight of the gift."),
0076 "question": qsTr("Enter the weight of the gift in ounce: %1")
0077 },
0078 {
0079 "masses": [[10, oz(10)], [11, oz(11)], [14, oz(14)], [5, oz(5)], [15, oz(15)], [13, oz(13)], [12, oz(12)]],
0080 "targets": [[22, oz(22)], [28, oz(28)], [19, oz(19)], [30, oz(30)], [20, oz(20)], [25, oz(25)], [27, oz(27)]],
0081 "rightDrop": false,
0082 "message": qsTr("Now you have to guess the weight of the gift."),
0083 "question": qsTr("Enter the weight of the gift in ounce: %1")
0084 },
0085 {
0086 "masses": [[20, oz(20)], [28, oz(28)], [30, oz(30)], [12, oz(12)], [17, oz(17)], [29, oz(29)], [15, oz(15)]],
0087 "targets": [[35, oz(35)], [48, oz(48)], [40, oz(40)], [50, oz(50)], [37, oz(37)], [49, oz(49)], [43, oz(43)]],
0088 "rightDrop": false,
0089 "message": qsTr("Now you have to guess the weight of the gift."),
0090 "question": qsTr("Enter the weight of the gift in ounce: %1")
0091 },
0092 {
0093 "masses": [[50, oz(50)], [28, oz(28)], [15, oz(15)], [10, oz(10)], [17, oz(17)], [29, oz(29)], [28, oz(28)]],
0094 "targets": [[65, oz(65)], [78, oz(78)], [60, oz(60)], [94, oz(94)], [77, oz(77)], [85, oz(85)], [89, oz(89)]],
0095 "rightDrop": false,
0096 "message": qsTr("Now you have to guess the weight of the gift."),
0097 "question": qsTr("Enter the weight of the gift in ounce: %1")
0098 }
0099 ]
0100 }