GATE Computer ScienceHardGATE CS (PYQ pattern)
How many assignments to a, b, c, d, e, f satisfy (a ∨ b) ∧ (a → c) ∧ (b → c) ∧ (c → d) ∧ (e ∨ f) ∧ (d → ¬e)?
- A. 3
- B. 4
- C. 6
- D. 9
Correct answer: A. 3
a ∨ b together with both implications forces c = 1, hence d = 1 and e = 0, so f = 1; (a, b) can be 01, 10 or 11, giving 3 assignments.
More Discrete Mathematics questions
- Using only the connective → and the two variables p and q (no constants), how many pairwise non-equivalent propositions can be written?
- A Boolean function f(x, y, z) satisfies f(x, y, z) = f(y, x, z) for all inputs. How many such functions exist?
- How many functions f : {1, 2, 3, 4} → {1, 2, 3, 4} satisfy f(f(x)) ≠ x for every x?
- In how many ways can 8 distinct objects be placed into 4 identical boxes, no box empty, so that objects 1 and 2 are in different boxes?
- How many equivalence relations on {1, 2, …, 7} have exactly 3 equivalence classes, each with at least 2 elements?
- How many partial orders on the labelled set {1, 2, 3, 4} have exactly one maximal element? (There are 19 partial orders on a labelled…