Convert the hexadecimal number 0xD84 to decimal. Find N.
Number systems worksheet with answers
1.Easy
0xD84A = 10 … F = 15
N =
2.Easy
Set the bits so the 8-bit register holds 0xF9. What is the pattern's value N in decimal?
0xF9
N =
3.Medium
Set the bits so they store −88 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −888 bit
U =
4.Medium
Set the bits so they store −64 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −648 bit
U =
5.Hard
Set the bits to the 8-bit result of 0111 0110 >> 1. What is the result's value R in decimal?
0111 0110>> 1
R =
6.Hard
An uncompressed image is 256 × 256 pixels with 32 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
256 × 256 px32 bit/px1 KiB = 1024 B
M = KiB
Answer key
- 1. N = 3460
- 2. N = 249
- 3. U = 168
- 4. U = 192
- 5. R = 59
- 6. M = 256 KiB
Full step-by-step solutions: practise this topic on examproblems.com.