GATE Computer ScienceModerateGATE CS · ISRO

How many Boolean functions of four variables are self-dual (f(x̄) = f(x)′ for every input x)?

  1. A. 128
  2. B. 512
  3. C. 256
  4. D. 32768

Correct answer: C. 256

The 16 inputs form 8 complementary pairs, and f is free on one input of each pair, so there are 2⁸ = 256 functions.

More Digital Logic questions

Exams that ask this topic