GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A 3-to-8 decoder has active-low outputs Y0'..Y7' (Yi' = 0 only for input code i). To realise F(A,B,C) = Σm(0,1,2,4,5,7) with the fewest gate inputs, you should

  1. A. OR the six outputs Y0', Y1', Y2', Y4', Y5', Y7' with a 6-input OR gate
  2. B. NAND the six outputs Y0', Y1', Y2', Y4', Y5', Y7' with a 6-input NAND gate
  3. C. AND the two outputs Y3' and Y6' with a 2-input AND gate
  4. D. NAND the two outputs Y3' and Y6' with a 2-input NAND gate

Correct answer: C. AND the two outputs Y3' and Y6' with a 2-input AND gate

F is 1 on every input except 3 and 6. Y3' = 0 only at 3 and Y6' = 0 only at 6, so Y3'·Y6' = 1 exactly when the input is neither 3 nor 6, which is F, using 2 gate inputs. The 6-input NAND also gives F but needs 6 inputs; the 2-input NAND gives F', and the 6-input OR is almost always 1.

More Digital Logic questions

Exams that ask this topic