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 0110 1110₂ to decimal. Find N.
0110 1110₂
N =
3.Medium
The 8-bit pattern 1001 0110 stores a signed integer in two's complement. What is its value N in decimal?
1001 01108 bit
N =
4.Medium
The 8-bit pattern 0010 1011 stores a signed integer in two's complement. What is its value N in decimal?
0010 10118 bit
N =
5.Hard
Set the bits to the 8-bit result of 0010 1010 << 1. What is the result's value R in decimal?
0010 1010<< 1
R =
6.Hard
Set the bits to the 8-bit result of 1001 1110 XOR 1101 1110. What is the result's value R in decimal?
1001 1110XOR1101 1110
R =
Answer key
- 1. N = 214
- 2. N = 110
- 3. N = −106
- 4. N = 43
- 5. R = 84
- 6. R = 64
Full step-by-step solutions: practise this topic on examproblems.com.