GATE 2018 EC – Question 18
The logic function $f(X,Y)$ realized by the given circuit is

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) XOR
Explanation
The two inverted inputs steer the pass-transistor stacks so that the output is $X\bar Y+\bar XY$ (the output connects to $\bar Y$ when $X=1$ and to $Y$ when $X=0$), which is the XOR function.