Set the bits so the 8-bit register holds 0x9D. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x9D
N =
2.Easy
Set the bits so the 8-bit register holds 0x8B. What is the pattern's value N in decimal?
0x8B
N =
3.Medium
The 8-bit pattern 0101 0010 stores a signed integer in two's complement. What is its value N in decimal?
0101 00108 bit
N =
4.Medium
Write −66 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −668 bit
U =
5.Hard
What is the most negative integer N that can be stored in 16-bit two's complement?
16 bit
N =
6.Hard
Set the bits to the 8-bit result of 0100 1011 XOR 1011 0011. What is the result's value R in decimal?
0100 1011XOR1011 0011
R =
Answer key
- 1. N = 157
- 2. N = 139
- 3. N = 82
- 4. U = 190
- 5. N = −32768
- 6. R = 248
Full step-by-step solutions: practise this topic on examproblems.com.