Convert the binary number 0111 1111₂ to decimal. Find N.
Number systems worksheet with answers
1.Easy
0111 1111₂
N =
2.Easy
Set the bits so the 8-bit register holds 0x28. What is the pattern's value N in decimal?
0x28
N =
3.Medium
Write −118 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −1188 bit
U =
4.Medium
Set the bits so they store −99 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −998 bit
U =
5.Hard
What is the most negative integer N that can be stored in 10-bit two's complement?
10 bit
N =
6.Hard
A system must give every one of 3297 items its own binary code of the same length. What is the smallest number of bits b needed?
3297
b = bit
Answer key
- 1. N = 127
- 2. N = 40
- 3. U = 138
- 4. U = 157
- 5. N = −512
- 6. b = 12 bit
Full step-by-step solutions: practise this topic on examproblems.com.