summaryrefslogtreecommitdiff
path: root/fp1/week1/camil/2.2/antwoorden.txt
diff options
context:
space:
mode:
authorMart Lubbers2015-04-16 21:22:20 +0200
committerMart Lubbers2015-04-16 21:22:20 +0200
commit6f604b19d3f5966e5c1d7c4fdf3703bd6ff0861c (patch)
tree96d580507249f7f58368476d9113007d4afcd748 /fp1/week1/camil/2.2/antwoorden.txt
parentAdded student numbers (diff)
update to fp2 yay, public and licence
Diffstat (limited to 'fp1/week1/camil/2.2/antwoorden.txt')
-rw-r--r--fp1/week1/camil/2.2/antwoorden.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/fp1/week1/camil/2.2/antwoorden.txt b/fp1/week1/camil/2.2/antwoorden.txt
new file mode 100644
index 0000000..413465c
--- /dev/null
+++ b/fp1/week1/camil/2.2/antwoorden.txt
@@ -0,0 +1,42 @@
+e1 = 42 Is elementair
+
+e2 = 1 + 125 * 8 / 10 - 59
+e2 = (1 + ((125 * 8) / 10)) - 59
+ -------
+e2 = (1 + (1000 / 10)) - 59
+ ---------
+e2 = (1 + 100) - 59
+ -------
+e2 = 101 - 59
+ --------
+e2 = 42
+
+e3 = not True || True && False
+e3 = (not True) || (True && False)
+ --------
+e3 = False || (True && False)
+ -------------
+e3 = False || False
+ --------------
+e3 = False
+
+e4 = 1 + 2 == 6 - 3
+e4 = (1 + 2) == (6 - 3)
+ -----
+e4 = 3 == (6 - 3)
+ -----
+e4 = 3 == 3
+e4 = True
+
+e5 = "1 + 2" == "6 - 3"
+ ------------------
+e5 = False
+
+e6 = "1111 + 2222" == "1111" +++ " + " +++ "2222"
+e6 = "1111 + 2222" == (("1111" +++ " + ") +++ "2222")
+ -----------------
+e6 = "1111 + 2222" == ("1111 + " +++ "2222")
+ --------------------
+e6 = "1111 + 2222" == "1111 + 2222"
+ ------------------------------
+e6 = True