GATE Computer ScienceEasyGATE CS (PYQ pattern)

How many Boolean functions of 4 variables are symmetric (their value depends only on how many inputs are 1)?

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

Correct answer: A. 32

The value can be chosen independently for each weight 0, 1, 2, 3, 4: 2⁵ = 32 functions.

More Discrete Mathematics questions

Exams that ask this topic