Control and embedded Systems Tutorial

Boolean Logic Test Answers
Home

1. C) Boolean Logic
2. A) Operators, Gates
3. D) AND
4. B) OR
5. A) NAND
6. C) NOR
7. D) XOR
8. B) NOT

9) 0xB0 & 0xD9
Operator: AND
Binary for 0xB0:      10110000
Binary for 0xD9:      11011001
Result of Operation: 10010000

10) 0xAF | 0x9C
Operator: OR
Binary for 0xAF:      10101111
Binary for 0x9C:      10011100
Result of Operation: 10111111

11) 0xC3 ^ 0x7C
Operator: XOR
Binary for 0xC3:      11000011
Binary for 0x7C:      01111100
Result of Operation: 10111111

12) ~0x85
Operator: NOT
Binary for 0x85: 10000101
Result of Operation: 01111010

Return to Boolean.

Home ---- Next: Address Lines and Ports
Problems, comments, ideas? Please Let me know what you think
Copyright © 2000, Joe D. Reeder. All Rights Reserved.