Set the bits so the 8-bit register holds 0xA5. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xA5
N =
2.Easy
Set the bits so the 8-bit register holds 0xE1. What is the pattern's value N in decimal?
0xE1
N =
3.Medium
Write −66 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −668 bit
U =
4.Medium
Set the bits so they store −37 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −378 bit
U =
5.Hard
Set the bits to the 8-bit result of 1011 1000 >> 3. What is the result's value R in decimal?
1011 1000>> 3
R =
6.Hard
What is the largest unsigned integer N that fits in 12 bits?
12 bit
N =
Answer key
- 1. N = 165
- 2. N = 225
- 3. U = 190
- 4. U = 219
- 5. R = 23
- 6. N = 4095
Full step-by-step solutions: practise this topic on examproblems.com.