Set the bits so the 8-bit register holds 0x8A. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x8A
N =
2.Easy
Set the bits so the 8-bit register holds 0x7D. What is the pattern's value N in decimal?
0x7D
N =
3.Medium
The 8-bit pattern 1001 1011 stores a signed integer in two's complement. What is its value N in decimal?
1001 10118 bit
N =
4.Medium
Write −89 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −898 bit
U =
5.Hard
Set the bits to the 8-bit result of 0010 1100 AND 0111 0111. What is the result's value R in decimal?
0010 1100AND0111 0111
R =
6.Hard
Set the bits to the 8-bit result of 1010 0110 XOR 1000 1110. What is the result's value R in decimal?
1010 0110XOR1000 1110
R =
Answer key
- 1. N = 138
- 2. N = 125
- 3. N = −101
- 4. U = 167
- 5. R = 36
- 6. R = 40
Full step-by-step solutions: practise this topic on examproblems.com.