// Text can be any number of lines.
// Last line of an item starts with a : and may specify a figure file.
// Elaborations are enclosed in braces.
Please evaluate the expression.
:
{
Evaluate the expression one step (operator) at a time.
:
{
At each step, identify the operator that is evaluated next by
clicking and dragging the mouse.
:
{
Click and drag the mouse to cover the operator and its operand(s).
: clickdrag.GIF
If you do not cover all the operands, your answer will be marked incorrect.
: incorrect.GIF
If the right-hand-side of an &&/|| operator is short-circuited or
skipped (because of an error on the left-hand-side),
drag the underbrace to cover the entire subexpression that is short-circuited/skipped.
: bailout.GIF
}
Enter the result of evaluating the operator, in the box that pops up.
:
{
First, verify the expression.
If it is not the one you selected, you did not cover all the
operands when you dragged the mouse.
Click on Cancel button, and return to clicking/dragging the mouse again.
: incorrect2.GIF
If the expression is what you selected, enter the result and click OK.
: intermediate.GIF
Follow the instructions for entering the result in the correct format.
These same instructions will be displayed every time.
: instructions.GIF
}
Your answer may be color-coded. If it is marked in green, it is correct. If it is marked in red, it is incorrect
: correctIncorrect.GIF
You can undo one or all previous steps.
:
{
Click on Edit menu and select Undo last entry or Clear entire answer.
: edit.GIF
On Windows, you can also click on the right mouse button and select Undo last step or Clear all steps.
: undo.GIF
}
}
After evaluating all the steps, click on the Submit Answer button.
: submit.GIF
}