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?
- A. 10
- B. 9
- C. 12
- 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
- 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…
- A 4-bit register Q3Q2Q1Q0 shifts right on every clock (Q2 ← Q3, Q1 ← Q2, Q0 ← Q1) while the new Q3 = Q3 ⊕ Q1 (old values). It starts at…