Convert the hexadecimal number 0x504 to decimal. Find N.
Number systems worksheet with answers
1.Easy
0x504A = 10 … F = 15
N =
2.Easy
Convert the hexadecimal number 0xC59 to decimal. Find N.
0xC59A = 10 … F = 15
N =
3.Medium
The 8-bit pattern 1111 0110 stores a signed integer in two's complement. What is its value N in decimal?
1111 01108 bit
N =
4.Medium
Set the bits so they store −18 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −188 bit
U =
5.Hard
An uncompressed image is 1280 × 720 pixels with 32 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
1280 × 720 px32 bit/px1 KiB = 1024 B
M = KiB
6.Hard
Set the bits to the 8-bit result of 0011 1101 AND 1111 0101. What is the result's value R in decimal?
0011 1101AND1111 0101
R =
Answer key
- 1. N = 1284
- 2. N = 3161
- 3. N = −10
- 4. U = 238
- 5. M = 3600 KiB
- 6. R = 53
Full step-by-step solutions: practise this topic on examproblems.com.