Set the bits so the 8-bit register holds 0xA8. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xA8
N =
2.Easy
Set the bits so the 8-bit register holds 0x3D. What is the pattern's value N in decimal?
0x3D
N =
3.Medium
The 8-bit pattern 0001 0011 stores a signed integer in two's complement. What is its value N in decimal?
0001 00118 bit
N =
4.Medium
Write −108 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −1088 bit
U =
5.Hard
Set the bits to the 8-bit result of 1000 1101 OR 0110 0111. What is the result's value R in decimal?
1000 1101OR0110 0111
R =
6.Hard
Set the bits to the 8-bit result of 1000 1000 AND 1111 1010. What is the result's value R in decimal?
1000 1000AND1111 1010
R =
Answer key
- 1. N = 168
- 2. N = 61
- 3. N = 19
- 4. U = 148
- 5. R = 239
- 6. R = 136
Full step-by-step solutions: practise this topic on examproblems.com.