GATE Computer ScienceEasyGATE CS (PYQ pattern)

A 128-to-1 multiplexer is built as a tree of 4-to-1 multiplexers only (unused data and select inputs may be tied to constants). What is the minimum number of 4-to-1 multiplexers, and how many levels does the tree have?

  1. A. 43 multiplexers in 4 levels
  2. B. 42 multiplexers in 4 levels
  3. C. 43 multiplexers in 3 levels
  4. D. 64 multiplexers in 4 levels

Correct answer: A. 43 multiplexers in 4 levels

Level 1: 128 / 4 = 32 multiplexers; level 2: 8; level 3: 2; level 4: one more 4-to-1 with only two inputs used (128 = 4³·2 is not a power of 4). Total 32 + 8 + 2 + 1 = 43 in 4 levels. Stopping at 42 forgets the final 2-way selection.

More Digital Logic questions

Exams that ask this topic