More on Precedence

This page contains more examples of expressions using several operators.

Expressions must be evaluated in the right order. $$\boxed{\text{Evaluate expressions in brackets first.}}$$

NOT has precedence over AND and OR, so unless brackets indicate otherwise $$\boxed{\text{NOT is done before AND, OR.}}$$

Examples

Fins the truth values of each expression

More for you to try

Find the truth value of each statement (that is, decide whether each is true or false).

$!5-3=0||-1\lt 1$ [ ]True [ ]False

$!(5-3=0||-1\lt 1)$ [ ]True [ ]False

The sky is always red OR Finnish is not the main language of Australia. [ ]True [ ]False

$!$(The sky is always red OR Finnish is not the main language of Australia). [ ]True [ ]False

$23\lt 100$ OR $!0=0$ [ ]True [ ]False

$!(23\le 100||0+1=0)$. [ ]True [ ]False

$0=0\&\&!(23 \le 100||0+1=0)$ [ ]True [ ]False

Check Answers

Well done, you've reached the end of this unit. Click here to return to the first page of the unit or here if you need more information.