GATE Computer ScienceEasyGATE CS
Out of the 16 binary Boolean operators, how many are BOTH commutative and associative?
- A. 4
- B. 8
- C. 10
- 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
- Which of the following sets of connectives are functionally complete? I. {→, ⊥} II. {↔, ⊕} III. {→, ⊕} IV. {∧, ∨, →} V. {↛, ⊤} (↛ is 'p…
- Which of the following sets of connectives are functionally complete (no constants may be used unless they can be built from the…
- Which of the following first-order formulas are valid (true in every interpretation over every non-empty domain)? I. ∃x(P(x) → Q(x)) ↔ (∀x…
- Which of the following first-order formulas are valid? I. ∀x(P(x) ∨ Q(x)) → (∀x P(x) ∨ ∃x Q(x)) II. (∃x P(x) ∧ ∃x Q(x)) → ∃x(P(x) ∧ Q(x))…
- Over the domain D = {1, 2, 3, 4}, how many interpretations of the binary predicate R make ∀x∀y(R(x, y) → R(y, x)) ∧ ∀x∃y(x ≠ y ∧ R(x, y))…
- How many of the 64 assignments to a, b, c, d, e, f satisfy a ∧ (a → b) ∧ ((b ∧ c) → d) ∧ (d → e) ∧ (e → c) ∧ (¬d ∨ ¬f)?