Set the bits so the 8-bit register holds 0x66. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x66
N =
2.Easy
Set the bits so the 8-bit register holds 0x60. What is the pattern's value N in decimal?
0x60
N =
3.Medium
Set the bits so they store −37 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −378 bit
U =
4.Medium
Set the bits so they store −27 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −278 bit
U =
5.Hard
Set the bits to the 8-bit result of 1110 1010 << 2. What is the result's value R in decimal?
1110 1010<< 2
R =
6.Hard
Set the bits to the 8-bit result of 0111 0111 AND 1010 0111. What is the result's value R in decimal?
0111 0111AND1010 0111
R =
Answer key
- 1. N = 102
- 2. N = 96
- 3. U = 219
- 4. U = 229
- 5. R = 168
- 6. R = 39
Full step-by-step solutions: practise this topic on examproblems.com.