What is the correct order of execution of logical operators present in an…

2022

What is the correct order of execution of logical operators present in an expression?

  1. A.

    NOT → BRACKETS → AND → OR

  2. B.

    NOT → AND → OR → BRACKETS

  3. C.

    NOT → OR → AND → BRACKETS

  4. D.

    BRACKETS → NOT → AND → OR

Attempted by 348 students.

Show answer & explanation

Correct answer: D

By operator precedence, expressions inside brackets are evaluated first, followed by NOT, then AND, and finally OR.

Explore the full course: Up Lt Grade Assistant Teacher 2025