Machine-translated by Google. Questions are authored in English.
Top

Propositional Logic Questions and Answers

1.

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?

Exam Year(s)

GATE CS - 2024,

Answer: A

The correct representation is \(q \to \neg p\).

'Fail grade cannot be given when student scores more than 50% marks' means: if the student scores more than 50% (\(q\)), then a fail grade cannot be given (\(\neg p\)). The 'when' clause is the condition, so it goes on the left of the implication.

\(q \to p\) says a fail grade can be given to such a student, the opposite. \(p \to q\) says that if a fail grade can be given then the student scored more than 50%, which reverses the direction and drops the negation. \(\neg p \to q\) is the converse of the correct statement, and an implication is not equivalent to its converse.

Please log in or register to report this question.

2.

The inference rule deals exclusively with formulas in conjunctive normal forms is called as :

Exam Year(s)

MH SET - 2024, SET Exam - 2024,

Answer: A

The rule is the resolution rule.

Resolution works on clauses, disjunctions of literals, so the formulas must first be put into conjunctive normal form. From two clauses containing a complementary pair, such as \(P \vee Q\) and \(\neg P \vee R\), it derives the resolvent \(Q \vee R\). Deriving the empty clause shows the clause set is unsatisfiable, which is how resolution refutation proves theorems.

Contingency, unsatisfiability and contradiction are properties of formulas, not names of inference rules.

Please log in or register to report this question.

3.

A committee is to be selected from 5 candidates a, b, c, d and e. The selection must satisfy all the following conditions :

  • Either a or b must be included, but not both
  • Either c or e or both must be included
  • If d is included then b must be included
  • Either a or c are included or neither is included.
  • If e is included, then c and d must be included. How should selection be made ?

Exam Year(s)

MH SET - 2025, SET Exam - 2025,

Answer: A

The selection is \(a \wedge \bar{b} \wedge c \wedge \bar{d} \wedge \bar{e}\): choose a and c only.

Check each condition with a and c chosen. Exactly one of a, b is in. At least one of c, e is in. d is out, so the rule 'if d then b' is not triggered. a and c are both in, which satisfies 'both or neither'. e is out, so the last rule is not triggered.

Each other option leaves out both a and b, which breaks the first condition at once. They fail elsewhere too: with c in and a out, 'both or neither' fails; including e without d breaks the last rule; including d without b breaks the third.

Please log in or register to report this question.

4.

Which of the following shall be a compound proposition involving the propositions p, q and r, that is true when exactly two of the p, q and r are true and is false otherwise ?

Exam Year(s)

UGC NET - 2013,

Answer: C

The proposition that is true exactly when two of p, q and r are true is (p and q and not r) or (p and not q and r) or (not p and q and r), option (C). Each of the three terms is true for just one pattern of truth values, one for each choice of the two true propositions, and the three patterns are joined by or. The other options include the term (p and q and r), which is true when all three are true, so they are true for the wrong case, or mix and and or without brackets in a way that does not give the required truth table. For instance (D) is true when p, q and r are all true because of its middle term, so it fails the exactly two condition.

Please log in or register to report this question.

5.

How many different truth tables of the compound propositions are there that involve the propositions p & q ?

Exam Year(s)

UGC NET - 2014,

Answer: D

With two propositions p and q there are four combinations of truth values, so a truth table has four rows, and each row of the compound proposition can be true or false independently.

\[ 2^{4} = 16 \]

So there are 16 different truth tables. Two, four and eight are too few, since they would restrict some of the rows to the same value.

Please log in or register to report this question.

6.

Give a compound proposition involving propositions p, q and r that is true when exactly two of p, q and r are true and is false otherwise.

Exam Year(s)

UGC NET - 2014,

Answer: D

The proposition is true when exactly two of p, q, r are true, and each such case is one conjunction: p and q and not r, p and not q and r, not p and q and r. The three cases are alternatives, so they are joined by OR.

\[ \begin{aligned} & (p \wedge q \wedge \neg r) \vee \\ & (p \wedge \neg q \wedge r) \vee \\ & (\neg p \wedge q \wedge r) \end{aligned} \]

Joining them with AND, as the other options do, would require two incompatible cases to hold together and would be false in every case.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Propositional Logic Questions and Answers || Propositional Logic MCQ Questions and Answers || Propositional Logic GK Questions and Answers || Propositional Logic GK MCQ Questions || Propositional Logic Multiple Choice Questions and Answers || Propositional Logic GK || GK on Propositional Logic || Discrete Mathematics Questions and Answers || Discrete Mathematics MCQ Questions and Answers || Discrete Mathematics GK Questions and Answers || GK on Discrete Mathematics