Q.What is an X-OR gate? Realize the logic expression Y= A⊕B⊕C using 2 input two X-OR gate.
[!TLDR]
An X-OR gate outputs 1 when its inputs differ; a three-variable X-OR is built by cascading two 2-input X-OR gates.
X-OR gate: The exclusive-OR gate is a two-input gate whose output is HIGH (1) only when the two inputs are at different logic levels, and LOW (0) when they are equal. Its Boolean equation is .
Truth table:
| A | B | Y = A⊕B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Realising with two 2-input X-OR gates: Since the X-OR operation is associative, the three-input function is grouped as .
- X-OR gate 1: inputs and → output .
- X-OR gate 2: inputs and → output .
The output is 1 whenever an odd number of the three inputs are 1, which is exactly the parity/odd-function realised by the cascade.
[!ANSWER]
The X-OR gate gives output 1 only for unequal inputs, . Two cascaded 2-input X-OR gates realise : gate 1 gives , and gate 2 X-ORs it with .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.