GATE Computer ScienceHardGATE CS (PYQ pattern)
What is the minimum number of 2-input NAND gates needed to realise F = A XNOR B when only the true inputs A and B are available (no complemented inputs, no constants)?
- A. 5
- B. 4
- C. 6
- D. 3
Correct answer: A. 5
XOR takes 4 NAND gates, XNOR takes 5. An exhaustive search over every circuit with at most 4 gates finds none that realises XNOR.
More Digital Logic questions
- Only the true inputs A, B, C are available (no complements, no constants). What are the minimum numbers of 2-input NOR gates needed to…
- F = (A⊕B)(C⊕D) + (A⊕C)(B⊕D) + (A⊕D)(B⊕C). For which inputs is F = 1?
- Which expression is equal to AB ⊕ CD ⊕ AC ⊕ BD?
- F(A,B,C,D,E) = (A + B)(B + C)(C + D)(D + E)(E + A). How many minterms does F have, and how many prime implicants does its sum-of-products…
- How many minterms does F = (A+B')(B+C')(C+D')(D+A')(A+C) have?
- How many of the 32 input combinations make F(A,B,C,D,E) = (A ⊕ B)(B ⊕ C) + (C ⊕ D)(D ⊕ E) equal to 1?