Loading test…
Step 1. Virtual ground. The non-inverting input is grounded, so the inverting input is at 0 V and no current enters the op-amp.
Step 2. Equal currents. , which gives
Correct answer: (B).
Truth table of XOR.
| A | B | A ⊕ B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
The output is 1 only when the inputs differ. Option (D) describes OR. Correct answer: (C).