Set the bits so the 8-bit register holds 0xD3. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xD3
N =
2.Easy
Convert the hexadecimal number 0x6B1 to decimal. Find N.
0x6B1A = 10 … F = 15
N =
3.Medium
Set the bits so they store −68 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −688 bit
U =
4.Medium
Set the bits so they store −109 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −1098 bit
U =
5.Hard
Set the bits to the 8-bit result of 1001 0011 << 3. What is the result's value R in decimal?
1001 0011<< 3
R =
6.Hard
An uncompressed image is 640 × 480 pixels with 24 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
640 × 480 px24 bit/px1 KiB = 1024 B
M = KiB
Answer key
- 1. N = 211
- 2. N = 1713
- 3. U = 188
- 4. U = 147
- 5. R = 152
- 6. M = 900 KiB
Full step-by-step solutions: practise this topic on examproblems.com.