Set the bits so the 8-bit register holds 0x1C. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x1C
N =
2.Easy
Set the bits so the 8-bit register holds 0x41. What is the pattern's value N in decimal?
0x41
N =
3.Medium
The 8-bit pattern 0111 1000 stores a signed integer in two's complement. What is its value N in decimal?
0111 10008 bit
N =
4.Medium
Write −51 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −518 bit
U =
5.Hard
What is the most negative integer N that can be stored in 32-bit two's complement?
32 bit
N =
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 = 28
- 2. N = 65
- 3. N = 120
- 4. U = 205
- 5. N = −2.147 × 10⁹
- 6. M = 468.8 KiB
Full step-by-step solutions: practise this topic on examproblems.com.