Set the bits so the 8-bit register holds 0xE2. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xE2
N =
2.Easy
Set the bits so the 8-bit register holds 0xAE. What is the pattern's value N in decimal?
0xAE
N =
3.Medium
Set the bits so they store −83 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −838 bit
U =
4.Medium
Set the bits so they store −75 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −758 bit
U =
5.Hard
What is the largest unsigned integer N that fits in 24 bits?
24 bit
N =
6.Hard
A system must give every one of 1648 items its own binary code of the same length. What is the smallest number of bits b needed?
1648
b = bit
Answer key
- 1. N = 226
- 2. N = 174
- 3. U = 173
- 4. U = 181
- 5. N = 1.678 × 10⁷
- 6. b = 11 bit
Full step-by-step solutions: practise this topic on examproblems.com.