GATE / CS ARCHIVE

GATE CSE 2002 / QUESTION 2.1

Solving for a NAND-network input

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

GATE 2002, Q2.1 2 marks · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 2.1, GATE 2002: A circuit connects f₁ and f₂ to a two-input NAND gate, inverts f₃ with a NOT gate, and feeds these two outputs to another two-input NAND gate whose output is f. Given f₁(x,y,z)=Σm(0,1,3,5), f₂(x,y,z)=Σm(6,7), and f(x,y,z)=Σm(1,4,5), find f₃.
(A) Σm(1,4,5); (B) Σm(6,7); (C) Σm(0,1,3,5); (D) None of these.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step 1: Apply De Morgan’s law at the final gate.

Step 2: The first NAND outputs¬(f1f2), and the lower inverter outputs¬f3. The final NAND complements their conjunction, giving f1f2+f3. Because no minterm belongs to both{0,1,3,5} and{6,7}, the product f1f2 is identically zero. Therefore the third input must equal the required output, not either of the two earlier input functions.

Conclusion: The network computes f=¬(¬(f1f2)·¬f3)=f1f2+f3. The minterm sets of f1 and f2 are disjoint, so f1f2=0. Hence f3=f=Σ(1,4,5), A.

Original paper, page 3