+19
cards/2026/spring/DLD/Boolean-Logic.md
+19
cards/2026/spring/DLD/Boolean-Logic.md
···
···
1
+
Q: what does $x_2$ mean
2
+
A: base two variable
3
+
4
+
Q: what range is $x_2$ potentially contain?
5
+
A: ${0,1}$
6
+
7
+
Q: how should $x'$ read?
8
+
A: not $x$
9
+
10
+
C: the fundamental logic gates are [and], [or], [not]
11
+
12
+
Q: $f(x) = x+y$ reads
13
+
A: $f(x) = x$ **or** $y$
14
+
15
+
Q: $f(x) = xy$ reads
16
+
A: $f(x) = x$ **and** $y$
17
+
18
+
Q: $f(x) = x*y$ **reads**
19
+
A: $f(x) = x$ **and** $y$