The AP Exam uses the following relational (comparison) operators: =, ≠, >, <, ≥, and ≤.

As well, AND, OR and NOT are used instead of &&, || and !=.

A comparison using a relational operator evaluates to a Boolean value. For example, a = b evaluates to true if a and b are equal; otherwise, it evaluates to false.

Determine what the following expression would evaluate to.

(9 ≠ 7 AND 17 < 4) OR 65 < 9

yes

true

false

no

1 answer

The expression (9 ≠ 7 AND 17 < 4) OR 65 < 9 can be evaluated as:

(9 ≠ 7 AND 17 < 4) = (true AND false) = false

(9 ≠ 7 AND 17 < 4) OR 65 < 9 = false OR 65 < 9 = false OR false = false

Therefore, the expression would evaluate to false.
Similar Questions
  1. Question: 17The AP Exam uses the following relational (comparison) operators: =, ≠, >, <, ≥, and ≤. As well, AND, OR and
    1. answers icon 1 answer
    1. answers icon 1 answer
  2. What is the correct order of precedence among the following operators?a Logical > Relational > Arithmetic b Relational > Logical
    1. answers icon 1 answer
    1. answers icon 1 answer
more similar questions