GATE Computer ScienceVery hardGATE CSE · UGC NET

A Boolean function f(x, y, z) is monotone if raising any input from 0 to 1 never lowers the output, and self-dual if f(x̄, ȳ, z̄) is the complement of f(x, y, z). How many Boolean functions of three variables are both monotone and self-dual?

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

Correct answer: A. 4

Checking all 256 functions leaves exactly x, y, z and the majority function: 4.

More Discrete Mathematics questions

Exams that ask this topic