// 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 bitwise expression.
:
{
Evaluate the bitwise 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
}
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,
click on Help Convert to Binary button to convert the operands to binary representation.
: convert.gif
Click on individual bits to get the binary representation of each operand.
A green check means the bit is correct. A red X means it is incorrect.
The sum of the bits you select is shown in a counter.
Click on Submit button when done.
: operand.gif
After converting the operands, you will be asked to apply the bitwise operation.
If any bits are displayed in red, they are incorrect.
Click on Cancel button to start over.
: incorrectOperand.gif
Click on individual bits to indicate the result of the bitwise operation.
A green check means the bit is correct. A red X means it is incorrect.
Click on Submit button when done.
: result.gif
Finally, click on OK button to submit the result.
: okButton.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
}