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)?
- A. 4
- B. 2
- C. 6
- 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
- On an island knights always tell the truth and knaves always lie. A says 'B is a knave'. B says 'A and C are of the same type'. C says…
- Using only ∧ and ∨ (no negation, no constants), formulas are built from the variables p, q, r. How many pairwise non-equivalent such…
- A Boolean function f of four variables is self-dual if f(x̄₁, x̄₂, x̄₃, x̄₄) = ¬f(x₁, x₂, x₃, x₄). How many self-dual functions of four…
- How many of the following are tautologies? (a) ((p → q) → p) → p (b) (p → q) ∨ (q → p) (c) ((p ∧ q) → r) ↔ (p → (q → r)) (d) ((p → q) ∧ (q…
- A Boolean function is symmetric if its value depends only on the number of 1s in the input. If S(n) is the number of symmetric self-dual…
- How many of the 64 assignments to a, b, c, d, e, f satisfy (a ∨ b ∨ c) ∧ (¬a ∨ d ∨ e) ∧ (¬b ∨ ¬d ∨ f)?