Which of the following options correctly represents the symbolic form of the…

2025

Which of the following options correctly represents the symbolic form of the given proposition?

“Either my program runs and it contains no bugs, or my program contains bugs”.

Let:

• p = My program runs

• q = My program contains bugs

  1. A.

    (p ∧ ¬ q) ∨ q

  2. B.

    p ∧ (¬ q ∨ q)

  3. C.

    (p ∨ ¬ q) ∧ q

  4. D.

    ¬ (p ∧ q) ∨ q

Attempted by 36 students.

Show answer & explanation

Correct answer: A

First, translate 'my program runs' as p and 'contains no bugs' as ¬q. The phrase 'runs and contains no bugs' becomes p ∧ ¬q. Next, translate 'contains bugs' as q. Finally, connect the two parts with 'or', resulting in (p ∧ ¬q) ∨ q.

Explore the full course: Mppsc Assistant Professor