Suppose we have a 2input gate with inputs labeled A and B If
Suppose we have a 2-input gate, with inputs labeled A and B. If A and B are both 0, the output is 0. If A is 0 and B is 1, the output is 1. If A is 1 and B is 0, the output is 1. If A is 1 and B is 1, the output is 0. Which gate is this?
Solution
It is an xor gate
Formula for xor operation :A xor B=AB\'+A\'B
i.e
A B OUTPUT
0 0 0
0 1 1
1 0 1
1 1 0
