GATE Computer ScienceVery hardGATE CS (PYQ pattern)

What is the minimum number of 2:1 multiplexers needed to realise the three-input majority function MAJ(a, b, c) = ab + bc + ca if the constants 0, 1 and the inputs a, b, c are available but no inverter is available?

  1. A. 2
  2. B. 3
  3. C. 4
  4. D. 1

Correct answer: A. 2

t = (a ? c : b) and then MAJ = (t ? c : b) works: if a = 1, t = c and MAJ = c ? c : b = b + c; if a = 0, t = b and MAJ = b ? c : b = bc. The usual 3-multiplexer form is not minimal, and one multiplexer cannot do it.

More Digital Logic questions

Exams that ask this topic