GATE Computer ScienceModerateGATE CS (PYQ pattern)
Using only ∧ and ∨ (no negation, no constants), formulas are built from the variables p, q, r. How many pairwise non-equivalent such formulas φ satisfy φ(p=1, q=1, r=0) = 0?
- A. 6
- B. 5
- C. 4
- D. 18
Correct answer: B. 5
∧/∨ formulas are exactly the non-constant monotone functions. φ(1,1,0) = 0 forces φ = 0 on every point below 110 (000, 100, 010, 110). On the remaining square 001 ≤ 101, 011 ≤ 111 φ is any monotone function (6 of them) except the all-zero one, which would make φ constant: 6 − 1 = 5.
More Discrete Mathematics questions
- 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)?
- How many relations on A = {1, 2, 3} are symmetric and transitive but NOT reflexive?
- There are 219 strict partial orders (irreflexive, transitive relations) on the labelled set {1, 2, 3, 4}, and 19 on a labelled 3-element…