GATE Computer ScienceVery hardGATE CSE

How many four-variable Boolean functions are both symmetric and self-dual?

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

Correct answer: B. 0

A symmetric function has a value per weight, and self-duality forces f(weight 2) to equal its own complement (weight 4 − 2 = 2), which is impossible; hence 0 functions.

More Digital Logic questions

Exams that ask this topic