Set the bits so the 8-bit register holds 0xC6. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xC6
N =
2.Easy
Set the bits so the 8-bit register holds 0x77. What is the pattern's value N in decimal?
0x77
N =
3.Medium
Set the bits so they store −53 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −538 bit
U =
4.Medium
Write −107 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −1078 bit
U =
5.Hard
Set the bits to the 8-bit result of 1001 1111 AND 0110 0110. What is the result's value R in decimal?
1001 1111AND0110 0110
R =
6.Hard
Set the bits to the 8-bit result of 1100 0111 OR 1100 1100. What is the result's value R in decimal?
1100 0111OR1100 1100
R =
Answer key
- 1. N = 198
- 2. N = 119
- 3. U = 203
- 4. U = 149
- 5. R = 6
- 6. R = 207
Full step-by-step solutions: practise this topic on examproblems.com.