|20-CS-122-001||Computer Science II||Spring 2012|
|Bitwise Logic Operations|
Instructions: Enter an integer less than 256 in the upper left textfield labeled "number 1" and an integer less than 256 in the upper middle textfield labeled "number 2". Then select one of the following operations from the button group at the bottom of the applet: ^ (exclusive or), | (logical or), & (logical and), * (multiplication), + (addition), - (subtraction), << (shift left), >> (shift right), ! (negation). The binary representation of the result of the operation shows up under the result label on the right. Results shown are in binary and character form.