GATE Computer ScienceEasyGATE CS

Out of the 16 binary Boolean operators, how many are BOTH commutative and associative?

  1. A. 4
  2. B. 8
  3. C. 10
  4. D. 6

Correct answer: D. 6

Associative: 8, commutative: 8; both: the constants 0 and 1, ∧, ∨, ⊕ and ↔, i.e. 6. The projections are associative but not commutative, while NAND and NOR are commutative but not associative.

More Discrete Mathematics questions

Exams that ask this topic