GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Which of the following sets of connectives (the input variables may be used freely) are functionally complete? I. {XOR, AND} II. {XOR, AND, constant 1} III. {majority(a,b,c), NOT} IV. {a → b, constant 0} V. {NOR}

  1. A. II, IV and V only
  2. B. I, II, IV and V only
  3. C. II, III, IV and V only
  4. D. II and V only

Correct answer: A. II, IV and V only

I fails: XOR and AND both output 0 for all-zero input, so no NOT can be built. II gives NOT as x⊕1. III is self-dual (majority and NOT both are), so incomplete. IV gives NOT as a → 0 and then OR. NOR is universal.

More Digital Logic questions

Exams that ask this topic