[gbrainy] Compare variables logic game
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Compare variables logic game
- Date: Sun, 7 Nov 2010 18:45:14 +0000 (UTC)
commit 50ccb66f90610adbcc0b9f07dfb414caa459836d
Author: Jordi Mas <jmas softcatala org>
Date: Sun Nov 7 19:47:23 2010 +0100
Compare variables logic game
data/games.xml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/data/games.xml b/data/games.xml
index 9b4f987..c9641a7 100644
--- a/data/games.xml
+++ b/data/games.xml
@@ -464,4 +464,58 @@
<_rationale>[female_cars]% ([all_cars] - [males_cars]) of the inhabitants are women and have a car, that is, [option_a]% of the total.</_rationale>
</variant>
</game>
+
+ <game>
+ <_name>Compare variables</_name>
+ <type>Logic</type>
+ <difficulty>All</difficulty>
+
+ <variant>
+ <_question>If p < x < q and r < y < s. Which of the following options makes x < y true? [option_answers]</_question>
+
+ <string _text = "Possible answers are:" x = "0.1" y = "0.15" size = "large"/>
+
+ <option x = "0.3" y = "0.3" width ="0.45" height ="0.1" order ="randomized" correct = "yes">
+ <string _text = "[option_prefix] q < r" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <option x = "0.3" y = "0.4" width ="0.45" height ="0.1" order ="randomized">
+ <string _text = "[option_prefix] p < r" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <option x = "0.3" y = "0.5" width ="0.45" height ="0.1" order ="randomized">
+ <string _text = "[option_prefix] p > r" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <option x = "0.3" y = "0.6" width ="0.45" height ="0.1" order ="randomized">
+ <string _text = "[option_prefix] q = s" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <_rationale>The variable q is bigger than x and y bigger than r, if q is bigger than r then the condition x < y is true.</_rationale>
+ </variant>
+
+ <variant>
+ <_question>If p < x < q and r < y < s. Which of the following options makes x > y true? [option_answers]</_question>
+
+ <string _text = "Possible answers are:" x = "0.1" y = "0.15" size = "large"/>
+
+ <option x = "0.3" y = "0.3" width ="0.45" height ="0.1" order ="randomized" correct = "yes">
+ <string _text = "[option_prefix] q > s" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <option x = "0.3" y = "0.4" width ="0.45" height ="0.1" order ="randomized">
+ <string _text = "[option_prefix] p < r" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <option x = "0.3" y = "0.5" width ="0.45" height ="0.1" order ="randomized">
+ <string _text = "[option_prefix] p > r" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <option x = "0.3" y = "0.6" width ="0.45" height ="0.1" order ="randomized">
+ <string _text = "[option_prefix] q = s" x = "0.05" y = "0.02" size = "large"/>
+ </option>
+
+ <_rationale>The variable q is bigger than x and s is bigger than y, if q is bigger than s then the condition x > y is true.</_rationale>
+ </variant>
+ </game>
</games>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]