GATE Computer ScienceModerateGATE CS (PYQ pattern)

How many Boolean functions f(A,B,C,D) are self-dual (f(x̄) = f(x)' for every input x) and can also be written as a single product of literals (each variable appearing at most once, true or complemented)?

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

Correct answer: A. 8

A self-dual function has exactly half of its 16 minterms, i.e. 8. A product of k literals has 2^(4−k) minterms, so k = 1: the term is a single literal. Each of A, A', …, D' is self-dual, giving 8.

More Digital Logic questions

Exams that ask this topic