Set the bits so the 8-bit register holds 0xEB. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xEB
N =
2.Easy
Set the bits so the 8-bit register holds 0x90. What is the pattern's value N in decimal?
0x90
N =
3.Medium
The 8-bit pattern 1111 0100 stores a signed integer in two's complement. What is its value N in decimal?
1111 01008 bit
N =
4.Medium
The 8-bit pattern 1000 1000 stores a signed integer in two's complement. What is its value N in decimal?
1000 10008 bit
N =
5.Hard
Set the bits to the 8-bit result of 1101 0001 << 3. What is the result's value R in decimal?
1101 0001<< 3
R =
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 = 235
- 2. N = 144
- 3. N = −12
- 4. N = −120
- 5. R = 136
- 6. M = 1200 KiB
Full step-by-step solutions: practise this topic on examproblems.com.