Set the bits so the 8-bit register holds 0x3E. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x3E
N =
2.Easy
Set the bits so the 8-bit register holds 0x1B. What is the pattern's value N in decimal?
0x1B
N =
3.Medium
Write −73 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −738 bit
U =
4.Medium
The 8-bit pattern 1010 1101 stores a signed integer in two's complement. What is its value N in decimal?
1010 11018 bit
N =
5.Hard
Set the bits to the 8-bit result of 1001 1100 << 2. What is the result's value R in decimal?
1001 1100<< 2
R =
6.Hard
What is the most negative integer N that can be stored in 12-bit two's complement?
12 bit
N =
Answer key
- 1. N = 62
- 2. N = 27
- 3. U = 183
- 4. N = −83
- 5. R = 112
- 6. N = −2048
Full step-by-step solutions: practise this topic on examproblems.com.