GATE 2024 CS (CS2) – Question 12
Let $p$ and $q$ be the following propositions: $p$: Fail grade can be given. $q$: Student scores more than 50% marks. Consider the statement: "Fail grade cannot be given when student scores more than 50% marks." Which one of the following is the CORRECT representation of the above statement in propositional logic?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $q\rightarrow\neg p$
Explanation
'When q holds, p cannot hold' translates to q → ¬p.