|

Meaning of "precedence"

Precedence of operators

Meaning of "associativity"

Boolean Operators

Precedence and parentheses

Now practice eliminating parentheses from boolean expressions that contain non-boolean operators. For example, an operand might be a function call like   isTriangle(b,c,d)   or a relation like   x<= b+c .

Click here for the precedences of some non-boolean operators.

In the expression below, click the checkbox if the "parens" can be deleted without changing the meaning of the expression.
Then click
the Check answer button.
Do as many as you want (at least 10) before hitting button
Next.


Feedback

 


checked means () can be removed
|
|
  
Help | Glossary
© 2002 Copyright Cornell University