hw2_sol
hw2_sol
1. Truth Table.
Construct a truth table of following Boolean expressions
Homework 2 Page 1 of 5
(a) We have
(c) We have
3. Karnaugh Map
Let X = AB̄ + B C̄ + CD + AC D̄.
Homework 2 Page 2 of 5
A B C D X
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
Figure 1: Problem 3
4. Karnaugh Map 2
Let X = (Ā + B)(Ā + B̄ + C̄)(B + C̄ + D)(A + B̄ + C + D̄).
Homework 2 Page 3 of 5
A B C D X
0 0 0 0 1
0 0 0 1 1
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 0
0 1 1 0 1
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 0
Figure 2: Problem 4
5. Don’t Care!
For the following truth table, answer the following questions. Note that “x” means
don’t care.
Homework 2 Page 4 of 5
A B C D X
0 0 0 0 x
0 0 0 1 x
0 0 1 0 0
0 0 1 1 0
0 1 0 0 x
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 x
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
(a) K-map:
Figure 3: Problem 5
Homework 2 Page 5 of 5