Expression Analysis by Parenthesizing

INSTRUCTIONS

This activity assesses your understanding of the means by which arithmetic espressions can be analyzed by parenthesizing. You will be expected to fully parenthesize expressions in order to identify the factors which constitute the components of the expressions, where each factor is composed of a single operator and its relevant operand(s). A method of parenthesizing is explained elsewhere.

The expressions you will be given are limited to unparenthesized expressions containing one character operands (variable names or integer constants) and operators from the set:

OperatorMeaning
=
Assignment
+
Addition
-
Subtraction
~
Unary Minus
*
Multiplication
/
Division
^
Raise to the Power

In the practice session, you can test your knowledge against as many examples as you wish simply by clicking on the NEW EXPRESSION button. When you are satisfied that you are competent, then you can go on to the assessment quiz where you will be presented successively with four different expressions in a window; your task will be to properly insert parentheses such that there is no ambiguity in the order of evaluation of the factors.

CLOSE THIS WINDOW WHEN YOU ARE READY TO START.


Last updated 2001/04/17
© J.A.N. Lee, 2001.