GATE Computer ScienceModerateGATE CS (PYQ pattern)

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)?

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

Correct answer: D. 3

a = b = 1 is forced. With b = 1 the clauses give c → d → e → c, so c = d = e. If all three are 0, f is free (2 models); if all are 1, ¬d ∨ ¬f forces f = 0 (1 model). Total 3 (ignoring the last clause gives 4).

More Discrete Mathematics questions

Exams that ask this topic