GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 13

Circuit not equivalent to XNOR

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2011 paper

GATE 2011, Q13 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 13, GATE 2011: Which circuit is NOT equivalent to a two-input XNOR? Let the upper and lower inputs be x and y. The structural descriptions below replace the source gate drawings; NOT, AND, OR and XOR denote gates.

(A) XOR(x,y) followed by NOT
(B) NOT both inputs, feed them to XOR, then NOT its output
(C) NOT x, then XOR with y
(D) Invert y to y'; feed x and y' to an AND followed by NOT and also to an OR; AND those two outputs and then invert
Tap to enlarge
Your answer
Answer & solution

Official answer: D

A complements XOR. B complements both XOR inputs and then its output, also producing XNOR. C complements exactly one XOR input, again XNOR. In D, let top input be x and lower input y. The inner branches are (xy′)′ and x+y′; the final NAND gives [(xy′)′(x+y′)]′, which is the complement of XOR(x, y′), hence XOR(x, y). Thus D is not XNOR. The wire bridge was checked in the source.

A truth-table check makes the distinction explicit. XNOR has outputs 1,0,0,1 for inputs 00,01,10,11. Inverting both XOR inputs leaves XOR unchanged, whereas inverting exactly one input complements XOR, explaining A through C. For D, write u=x and v=y'. The product (uv)'(u+v) equals u XOR v. The final inversion yields NOT(x XOR y')=x XOR y, whose outputs are 0,1,1,0, the opposite of the target.

Original paper, page 4 · Answer key