Computer Programming                                                                               Name -

Bit-String Flicking Worksheet #3

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. 11111 OR 10101

_____________________ 2. 10101 AND 01011 OR 11101

_____________________ 3. 11101 OR 10001 AND 10001

_____________________ 4. NOT 101 AND NOT 100

_____________________ 5. 101011 XOR 110101 OR RSHIFT-3 111111

_____________________ 6. 101010 OR 100011 XOR 101010

_____________________ 7. RSHIFT-2 10111

_____________________ 8. LCIRC-2 100110

_____________________ 9. RCIRC-2 (LCIRC-2 10001)

_____________________ 10. LSHIFT-3 (NOT 101 OR 110 XOR (NOT 111 OR 011 AND 111))

_____________________ 11. NOT ( 10101 AND LSHIFT-2 10101 )

_____________________ 12. RSHIFT-2 (RSHIFT-1 11011 )

_____________________ 13. 1010001 XOR 1111010 AND 1001011

_____________________ 14. (RSHIFT-3 (LCIRC-3 01101)) OR (NOT (LSHIFT-3 10011))

_____________________ 15. 1011 XOR 1101 XOR 1000 AND 1110 OR 1110 AND NOT 1010

_____________________ 16. RSHIFT-2 0101 AND NOT 1110

_____________________ 17. RSHIFT-1 (01 XOR NOT 11)

_____________________ 18. RCIRC-10 11101011010 AND LSHIFT-9 11100111011

_____________________ 19. 1010111011010 XOR NOT 11111111111111

list the solutions below 20. List all of the bit strings abc that would satisfy the following equation

                                               RCIRC-2 (NOT abc) = LCIRC-2 101