GATE Computer ScienceModerateGATE CS (PYQ pattern)

A 5-to-32 line decoder is to be built only from 2-to-4 decoders, each with one active-high enable (no other gates or inverters; unused inputs may be tied to constants). What is the minimum number of 2-to-4 decoders?

  1. A. 10
  2. B. 9
  3. C. 12
  4. D. 11

Correct answer: D. 11

The 32 outputs need 32/4 = 8 leaf decoders (address bits 1-0). Their 8 enables come from 2 decoders (bits 3-2). Those 2 enables must be selected by bit 4 in both polarities, which needs one more decoder with one select input tied to 0 (outputs 0 and 1 used). Total 8 + 2 + 1 = 11; 10 assumes bit 4 and its complement are available for free.

More Digital Logic questions

Exams that ask this topic