Convert the hexadecimal number 0xEDC to decimal. Find N.
Number systems worksheet with answers
1.Easy
0xEDCA = 10 … F = 15
N =
2.Easy
Set the bits so the 8-bit register holds 0x11. What is the pattern's value N in decimal?
0x11
N =
3.Medium
Write −65 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −658 bit
U =
4.Medium
Set the bits so they store −111 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −1118 bit
U =
5.Hard
Set the bits to the 8-bit result of 0111 0010 AND 1100 1110. What is the result's value R in decimal?
0111 0010AND1100 1110
R =
6.Hard
Set the bits to the 8-bit result of 0111 1110 << 3. What is the result's value R in decimal?
0111 1110<< 3
R =
Answer key
- 1. N = 3804
- 2. N = 17
- 3. U = 191
- 4. U = 145
- 5. R = 66
- 6. R = 240
Full step-by-step solutions: practise this topic on examproblems.com.