Convert the hexadecimal number 0xCBE to decimal. Find N.
Number systems worksheet with answers
1.Easy
0xCBEA = 10 … F = 15
N =
2.Easy
Set the bits so the 8-bit register holds 0x84. What is the pattern's value N in decimal?
0x84
N =
3.Medium
Write −29 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −298 bit
U =
4.Medium
Set the bits so they store −91 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −918 bit
U =
5.Hard
An uncompressed image is 1920 × 1080 pixels with 16 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
1920 × 1080 px16 bit/px1 KiB = 1024 B
M = KiB
6.Hard
Set the bits to the 8-bit result of 1101 1001 XOR 0100 1001. What is the result's value R in decimal?
1101 1001XOR0100 1001
R =
Answer key
- 1. N = 3262
- 2. N = 132
- 3. U = 227
- 4. U = 165
- 5. M = 4050 KiB
- 6. R = 144
Full step-by-step solutions: practise this topic on examproblems.com.