Set the bits so the 8-bit register holds 0x94. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x94
N =
2.Easy
Convert the hexadecimal number 0xBF1 to decimal. Find N.
0xBF1A = 10 … F = 15
N =
3.Medium
The 8-bit pattern 1010 0000 stores a signed integer in two's complement. What is its value N in decimal?
1010 00008 bit
N =
4.Medium
Write −55 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −558 bit
U =
5.Hard
What is the most negative integer N that can be stored in 32-bit two's complement?
32 bit
N =
6.Hard
Set the bits to the 8-bit result of 0111 1000 AND 0011 1111. What is the result's value R in decimal?
0111 1000AND0011 1111
R =
Answer key
- 1. N = 148
- 2. N = 3057
- 3. N = −96
- 4. U = 201
- 5. N = −2.147 × 10⁹
- 6. R = 56
Full step-by-step solutions: practise this topic on examproblems.com.