Q.
Find the truth table for the function $Y$ of $A$ and $B$ represented in the following figure.
Solution:
$Y=A \cdot B+\bar{B}$
A
B
Y
0
0
1
0
1
0
1
0
1
1
1
1
A | B | Y |
---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 1 |
1 | 1 | 1 |