Set the bits so the 8-bit register holds 0x3A. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x3A
N =
2.Easy
Set the bits so the 8-bit register holds 0x50. What is the pattern's value N in decimal?
0x50
N =
3.Medium
Set the bits so they store −116 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −1168 bit
U =
4.Medium
The 8-bit pattern 1001 0001 stores a signed integer in two's complement. What is its value N in decimal?
1001 00018 bit
N =
5.Hard
What is the largest unsigned integer N that fits in 32 bits?
32 bit
N =
6.Hard
An uncompressed image is 640 × 480 pixels with 32 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
640 × 480 px32 bit/px1 KiB = 1024 B
M = KiB
Answer key
- 1. N = 58
- 2. N = 80
- 3. U = 140
- 4. N = −111
- 5. N = 4.295 × 10⁹
- 6. M = 1200 KiB
Full step-by-step solutions: practise this topic on examproblems.com.