Set the bits so the 8-bit register holds 0xF4. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xF4
N =
2.Easy
Set the bits so the 8-bit register holds 0x3B. What is the pattern's value N in decimal?
0x3B
N =
3.Medium
Set the bits so they store −83 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −838 bit
U =
4.Medium
Set the bits so they store −32 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −328 bit
U =
5.Hard
Set the bits to the 8-bit result of 0011 0110 >> 1. What is the result's value R in decimal?
0011 0110>> 1
R =
6.Hard
Set the bits to the 8-bit result of 1011 0100 OR 0101 1100. What is the result's value R in decimal?
1011 0100OR0101 1100
R =
Answer key
- 1. N = 244
- 2. N = 59
- 3. U = 173
- 4. U = 224
- 5. R = 27
- 6. R = 252
Full step-by-step solutions: practise this topic on examproblems.com.