Set the bits so the 8-bit register holds 0x51. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x51
N =
2.Easy
Set the bits so the 8-bit register holds 0xA0. What is the pattern's value N in decimal?
0xA0
N =
3.Medium
Set the bits so they store −117 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −1178 bit
U =
4.Medium
Write −76 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −768 bit
U =
5.Hard
Set the bits to the 8-bit result of 0011 0111 >> 1. What is the result's value R in decimal?
0011 0111>> 1
R =
6.Hard
An uncompressed image is 800 × 600 pixels with 8 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
800 × 600 px8 bit/px1 KiB = 1024 B
M = KiB
Answer key
- 1. N = 81
- 2. N = 160
- 3. U = 139
- 4. U = 180
- 5. R = 27
- 6. M = 468.8 KiB
Full step-by-step solutions: practise this topic on examproblems.com.