Set the bits so the 8-bit register holds 0xC0. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xC0
N =
2.Easy
Convert the hexadecimal number 0x49D to decimal. Find N.
0x49DA = 10 … F = 15
N =
3.Medium
Write −45 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −458 bit
U =
4.Medium
Set the bits so they store −6 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −68 bit
U =
5.Hard
Set the bits to the 8-bit result of 0100 0110 << 3. What is the result's value R in decimal?
0100 0110<< 3
R =
6.Hard
What is the most negative integer N that can be stored in 24-bit two's complement?
24 bit
N =
Answer key
- 1. N = 192
- 2. N = 1181
- 3. U = 211
- 4. U = 250
- 5. R = 48
- 6. N = −8.389 × 10⁶
Full step-by-step solutions: practise this topic on examproblems.com.