GATE Computer ScienceModerateGATE CS (PYQ pattern)

How many Boolean functions f(A,B,C) are symmetric (unchanged under every permutation of A, B, C) and also depend essentially on all three variables?

  1. A. 16
  2. B. 218
  3. C. 8
  4. D. 14

Correct answer: D. 14

A symmetric function is fixed by its values on input weights 0, 1, 2, 3, giving 2⁴ = 16. If it ignored one variable, by symmetry it would ignore all of them and be constant. So only the two constants are excluded: 16 − 2 = 14.

More Digital Logic questions

Exams that ask this topic