Set the bits so the 8-bit register holds 0xC7. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xC7
N =
2.Easy
Set the bits so the 8-bit register holds 0x8A. What is the pattern's value N in decimal?
0x8A
N =
3.Medium
Set the bits so they store −55 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −558 bit
U =
4.Medium
Set the bits so they store −72 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −728 bit
U =
5.Hard
Set the bits to the 8-bit result of 0010 0100 OR 0010 0000. What is the result's value R in decimal?
0010 0100OR0010 0000
R =
6.Hard
A system must give every one of 3870 items its own binary code of the same length. What is the smallest number of bits b needed?
3870
b = bit
Answer key
- 1. N = 199
- 2. N = 138
- 3. U = 201
- 4. U = 184
- 5. R = 36
- 6. b = 12 bit
Full step-by-step solutions: practise this topic on examproblems.com.