Set the bits so the 8-bit register holds 0xFB. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xFB
N =
2.Easy
Convert the binary number 1000 1100₂ to decimal. Find N.
1000 1100₂
N =
3.Medium
The 8-bit pattern 1110 0100 stores a signed integer in two's complement. What is its value N in decimal?
1110 01008 bit
N =
4.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 =
5.Hard
What is the largest unsigned integer N that fits in 32 bits?
32 bit
N =
6.Hard
Set the bits to the 8-bit result of 0011 0100 << 1. What is the result's value R in decimal?
0011 0100<< 1
R =
Answer key
- 1. N = 251
- 2. N = 140
- 3. N = −28
- 4. N = −106
- 5. N = 4.295 × 10⁹
- 6. R = 104
Full step-by-step solutions: practise this topic on examproblems.com.