Set the bits so the 8-bit register holds 0xD6. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xD6
N =
2.Easy
Convert the binary number 1101 0101₂ to decimal. Find N.
1101 0101₂
N =
3.Medium
Write −15 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −158 bit
U =
4.Medium
Write −43 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −438 bit
U =
5.Hard
Set the bits to the 8-bit result of 0001 0101 OR 1010 0011. What is the result's value R in decimal?
0001 0101OR1010 0011
R =
6.Hard
Set the bits to the 8-bit result of 0001 1010 XOR 1010 0110. What is the result's value R in decimal?
0001 1010XOR1010 0110
R =
Answer key
- 1. N = 214
- 2. N = 213
- 3. U = 241
- 4. U = 213
- 5. R = 183
- 6. R = 188
Full step-by-step solutions: practise this topic on examproblems.com.