GATE Computer ScienceHardGATE CS (PYQ pattern)
An 8-to-256 line decoder is to be built only from 3-to-8 decoders, each with one active-high enable input (no other gates, no inverters; unused inputs may be tied to 0 or 1). What is the minimum number of 3-to-8 decoders?
- A. 36
- B. 33
- C. 37
- D. 40
Correct answer: C. 37
The 256 outputs need 256 / 8 = 32 leaf decoders (address bits 2-0). Their 32 enables come from 4 decoders (bits 5-3). Those 4 enables must be selected by bits 7-6, which needs one more decoder with its third select input tied to 0 (only 4 of its outputs used). Total 32 + 4 + 1 = 37. Stopping at 36 assumes the top two bits can enable the 4 decoders directly, which needs gates.
More Digital Logic questions
- 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…
- A 4-bit asynchronous (ripple) up-counter has its clear inputs driven by a NAND gate whose inputs are Q3, Q1 and Q0 (active-low…
- A 6-bit ring counter (right shift, the last flip-flop's output fed back to the first) has no self-correcting logic, so all 64 states…
- A 5-bit Johnson (twisted-ring) counter shifts right and feeds the complement of the last flip-flop back to the first, with no…
- A 6-bit Johnson (twisted-ring) counter (right shift, complement of the last stage fed back to the first) has no self-correcting logic. How…
- A 4-bit register Q3Q2Q1Q0 shifts right every clock; the new value of Q3 is Q3 ⊕ Q1 (Q2 takes the old Q3, and so on). Of the 16 possible…