GATE Computer ScienceHardGATE CSE

How many Boolean functions of 4 variables are symmetric, meaning unchanged under every permutation of the inputs?

  1. A. 32
  2. B. 16
  3. C. 64
  4. D. 31

Correct answer: A. 32

A symmetric function depends only on the number of 1s among the inputs (0 to 4), so it is fixed by 5 independent output bits: 2^5 = 32.

More Digital Logic questions

Exams that ask this topic