Multiple choice technology mainframe

The hierarchy of the execution of logical operators is

  1. AND OR NOT

  2. NOT AND OR

  3. OR AND NOT

  4. OR NOT AND

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In logical expression evaluation within COBOL and most programming languages, the operator precedence order from highest to lowest is NOT, followed by AND, and finally OR. This ensures negation is evaluated first, conjunction second, and disjunction last.