The truth-table for the two-input Ex-OR gate is (A, B are the inputs, $\mathrm{Y}$ is the output).
The truth-table for the two-input Ex-OR gate is (A, B are the inputs, $\mathrm{Y}$ is the output).
P
Q
R
S
Solution
The Boolean expression for Exclusive-OR gate is as follows:
$Y=(A \oplus B)=\bar{A} \cdot B+A \cdot \bar{B}$
The output of an Exclusive-OR gate ONLY goes "HIGH" when its two input terminals are at "DIFFERENT" logic levels with respect to each other.
Therefore, option table S is correct.