
Answer:
Q = A ⊕ B = (A AND B) + ( not(A) AND not(B) )
Explanation:
AND gates : only output 1 when both inputs are 1
OR gate: Â only output 1 when either or both of the inputs are 1
NOT gates: takes only one input ad output the opposite of the input
The required circuit should takes two inputs and outputs a 1 if and only if the two inputs are the same signal.
The two possible scenarios : both input are 1's or 0's
Q = A ⊕ B = (A AND B) + ( not(A) AND not(B) )
A Â B Â not(A) not(B) Â A AND B Â Â not(A) AND not(B) Â Q
0 Â 0 Â Â 1 Â Â Â Â Â 1 Â Â Â Â Â Â 0 Â Â Â Â Â Â Â Â Â Â Â 1 Â Â Â Â Â Â Â Â Â Â Â 1
0 Â 1 Â Â Â 1 Â Â Â Â 0 Â Â Â Â Â Â 0 Â Â Â Â Â Â Â Â Â Â 0 Â Â Â Â Â Â Â Â Â Â Â 0
1 Â Â 0 Â Â 0 Â Â Â Â 1 Â Â Â Â Â Â 0 Â Â Â Â Â Â Â Â Â Â 0 Â Â Â Â Â Â Â Â Â Â Â 0
1 Â Â 1 Â Â 0 Â Â Â 0 Â Â Â Â Â Â Â 1 Â Â Â Â Â Â Â Â Â Â 0 Â Â Â Â Â Â Â Â Â Â Â 1