Set the bits so the 8-bit register holds 0xBC. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xBC
N =
2.Easy
Set the bits so the 8-bit register holds 0x7E. What is the pattern's value N in decimal?
0x7E
N =
3.Medium
Set the bits so they store −107 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −1078 bit
U =
4.Medium
Set the bits so they store −112 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −1128 bit
U =
5.Hard
Set the bits to the 8-bit result of 1101 1100 AND 1110 0101. What is the result's value R in decimal?
1101 1100AND1110 0101
R =
6.Hard
What is the most negative integer N that can be stored in 16-bit two's complement?
16 bit
N =
Answer key
- 1. N = 188
- 2. N = 126
- 3. U = 149
- 4. U = 144
- 5. R = 196
- 6. N = −32768
Full step-by-step solutions: practise this topic on examproblems.com.