Order of EvaluationWhen you do not use the parentheses to specify the order of evaluation, the operator precedence determine the order. Now compare the expressions below:NOT (valid AND done) | NOT valid AND doneWhen the Boolean variables valid and complete the value FALSE, the first expression yields TRUE. Though, the second expression yields FALSE as NOT has a higher precedence than AND. So, the second expression is equivalent to:(NOT valid) AND doneIn the example below, notice that if valid has the value FALSE, the entire expression yields FALSE regardless of the value of done:valid AND doneSimilarly, in the next illustration, when valid has the value TRUE, the entire expression yields TRUE regardless of the value of done:valid OR done