DACS 2101 - Discrete Structures: Homework #2 - Fall 2021
DACS 2101 - Discrete Structures: Homework #2 - Fall 2021
DACS 2101 - Discrete Structures: Homework #2 - Fall 2021
x y z -z y-z x+y-z
0 0 0 1 0 0
0 0 1 0 0 0
0 1 0 1 1 1
0 1 1 0 0 0
1 0 0 1 0 1
1 0 1 0 0 1
1 1 0 1 1 1
1 1 1 0 0 1
b) F (x, y, z) = x́ ý + xyz
´
-x.-y = x + y is only satisfied if and only if x = y. We can easily see that when x = y =
0 or when x = y = 1 is when the equation is satisfied.
b) x = y = 0, z = 1.
b) x = y = z = 0.
6. Express each of these Boolean functions using ONLY the “or” operator (+) and
“complement” operator (´) (hint: try taking the complement of the expressions and
apply De Morgan Law) [7 pts]
a) xy
= ((-x + -y) _)
b) x́yz
c) x( ý +¿x z)
7. We have seen that the operators {+, . , ´} are functionally complete. It is easy to
show that {+, ´} and { . , ´} are two smaller sets of operators that are functionally
complete (by using the same technique as the previous exercise). In this exercise, we
will show that the even smaller set {↓} is complete. ↓ is the NOR operator, which
means x ↓ y = x +´ y.
a) Express x́ with only x and the ↓ operator. [2 pts]
x↓x
(x ↓x) ↓ (y ↓y)
8. Find the output (Boolean expression) of the two following circuits. [4 pts]
:Name :Student ID
= (-x.-y) + (-z + x)
9. Fill in the following table of conversion between binary, decimal and hexadecimal.
Show the operation that you performed for each conversion outside the table. [6 pts]