Convert the binary number 0100 1000₂ to decimal. Find N.
Number systems worksheet with answers
1.Easy
0100 1000₂
N =
2.Easy
Set the bits so the 8-bit register holds 0x97. What is the pattern's value N in decimal?
0x97
N =
3.Medium
Set the bits so they store −91 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −918 bit
U =
4.Medium
The 8-bit pattern 1001 1000 stores a signed integer in two's complement. What is its value N in decimal?
1001 10008 bit
N =
5.Hard
What is the most negative integer N that can be stored in 16-bit two's complement?
16 bit
N =
6.Hard
What is the most negative integer N that can be stored in 20-bit two's complement?
20 bit
N =
Answer key
- 1. N = 72
- 2. N = 151
- 3. U = 165
- 4. N = −104
- 5. N = −32768
- 6. N = −524288
Full step-by-step solutions: practise this topic on examproblems.com.