GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 15

Redundant input in a NAND network

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

GATE 2005, Q15 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 15, GATE 2005: Circuit: top gate is NAND of X and complemented Y; bottom gate is AND of Y and Z; output f is NAND of those two results. Which variable is redundant? A X; B Y; C Z; D none.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

The upper NAND output is ¬(X¬Y)=¬X+Y; the lower AND output is YZ. The final NAND is ¬[(¬X+Y)YZ]=¬(YZ), because Y(¬X+Y)=Y. Thus X is irrelevant and f depends only on Y, Z, A.

Let top output t=¬(X¬Y), bottom u=YZ, and f=¬(tu). If Y=0, u=0 and f=1 regardless of X, Z. If Y=1, the top output is 1 and f=¬Z. Together these cases give f=¬Y∨¬Z=¬(YZ), independent of X. This also follows algebraically because Y·¬Y=0 cancels the X-dependent product. Thus A.

Original paper, page 2