GATE Computer ScienceHardGATE CS (PYQ pattern)

A Boolean function f(A,B,C) is monotone if f(x) ≤ f(y) whenever x ≤ y bitwise. Of the 20 monotone functions of three variables (constants included), how many depend essentially on all three variables?

  1. A. 15
  2. B. 18
  3. C. 9
  4. D. 6

Correct answer: C. 9

Monotone functions on fewer variables: 2 constants, 3 single variables, and on each pair {x, y} the functions xy and x + y (6 in total). 20 − 2 − 3 − 6 = 9: they are ABC, A+B+C, the three-input majority, the three of the form x(y+z) and their three duals x + yz.

More Digital Logic questions

Exams that ask this topic