Set the bits so the 8-bit register holds 0xF9. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xF9
N =
2.Easy
Convert the hexadecimal number 0x2F8 to decimal. Find N.
0x2F8A = 10 … F = 15
N =
3.Medium
The 8-bit pattern 1010 1001 stores a signed integer in two's complement. What is its value N in decimal?
1010 10018 bit
N =
4.Medium
Write −84 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −848 bit
U =
5.Hard
An uncompressed image is 1024 × 768 pixels with 24 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
1024 × 768 px24 bit/px1 KiB = 1024 B
M = KiB
6.Hard
Set the bits to the 8-bit result of 0100 1110 << 2. What is the result's value R in decimal?
0100 1110<< 2
R =
Answer key
- 1. N = 249
- 2. N = 760
- 3. N = −87
- 4. U = 172
- 5. M = 2304 KiB
- 6. R = 56
Full step-by-step solutions: practise this topic on examproblems.com.