Set the bits so the 8-bit register holds 0x8E. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x8E
N =
2.Easy
Convert the hexadecimal number 0xD0A to decimal. Find N.
0xD0AA = 10 … F = 15
N =
3.Medium
Write −14 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −148 bit
U =
4.Medium
The 8-bit pattern 0010 1001 stores a signed integer in two's complement. What is its value N in decimal?
0010 10018 bit
N =
5.Hard
Set the bits to the 8-bit result of 0110 0110 XOR 0100 0010. What is the result's value R in decimal?
0110 0110XOR0100 0010
R =
6.Hard
Set the bits to the 8-bit result of 1001 0100 AND 0111 0101. What is the result's value R in decimal?
1001 0100AND0111 0101
R =
Answer key
- 1. N = 142
- 2. N = 3338
- 3. U = 242
- 4. N = 41
- 5. R = 36
- 6. R = 20
Full step-by-step solutions: practise this topic on examproblems.com.