GATE Computer ScienceHardGATE CS
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 → r)) → (r → p) (e) (p → q) → ((q → r) → (p → r)) (f) ((p ∨ q) → r) ↔ ((p → r) ∨ (q → r))
- A. 3
- B. 5
- C. 6
- D. 4
Correct answer: D. 4
(a) Peirce, (b), (c) exportation and (e) hypothetical syllogism are valid; (d) fails at p = q = 0, r = 1 (the antecedent is true, r → p is false), and (f) fails because (p ∨ q) → r is (p → r) ∧ (q → r), not ∨. Total 4.
More Discrete Mathematics questions
- 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…
- How many equivalence relations on {1, 2, …, 7} relate 1 with 2, but relate neither 3 with 4 nor 1 with 3?
- On the integers define a R b iff a³ ≡ b³ (mod 504). How many equivalence classes does R have? (504 = 8 · 7 · 9)