GATE Computer ScienceVery hardGATE CS

How many Boolean functions f(a, b, c, d) have an algebraic normal form (XOR of AND-monomials with coefficients 0 or 1) of degree exactly 3?

  1. A. 28672
  2. B. 30720
  3. C. 32768
  4. D. 2048

Correct answer: B. 30720

The ANF has 16 coefficients, one per monomial (1, 4 of degree 1, 6 of degree 2, 4 of degree 3 and 1 of degree 4). Functions of degree at most 3 leave the abcd coefficient 0: 2¹⁵ = 32768; those of degree at most 2 number 2¹¹ = 2048. Exactly degree 3: 32768 − 2048 = 30720.

More Digital Logic questions

Exams that ask this topic