Computer Programming Name -
Bit-String Flicking Worksheet #2
Use the bit-string flicking logical operations AND, OR, XOR, XNOR, and NOT and the shift and circulate operations to determine the results of the following expressions. Remember to follow the order of operations. If necessary, add leading 0's so that bit strings are of equivalent length before operating.
_____________________ 1. RSHIFT-2 10011
_____________________ 2. LCIRC-2 10011
_____________________ 3. RCIRC-2 (LCIRC-2 10101)
_____________________ 4. LSHIFT-2 (NOT 101 OR 110)
_____________________ 5. NOT (11101 AND LSHIFT-2 10111)
_____________________ 6. RSHIFT-3 (RSHIFT-1 11111)
_____________________ 7. RSHIFT-1 01 AND NOT 11
_____________________ 8. RSHIFT-1 (01 AND NOT 11)
_____________________ 9. RCIRC-13 11101011010110 AND LSHIFT-14 11100100111011
_____________________ 10. RCIRC-12 10101110110101 OR NOT 10000000000000