Set the bits so the 8-bit register holds 0xDD. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xDD
N =
2.Easy
Convert the hexadecimal number 0x620 to decimal. Find N.
0x620A = 10 … F = 15
N =
3.Medium
Write −58 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −588 bit
U =
4.Medium
Set the bits so they store −2 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −28 bit
U =
5.Hard
Set the bits to the 8-bit result of 1010 0011 OR 1011 1011. What is the result's value R in decimal?
1010 0011OR1011 1011
R =
6.Hard
Set the bits to the 8-bit result of 0101 0110 XOR 0110 0111. What is the result's value R in decimal?
0101 0110XOR0110 0111
R =
Answer key
- 1. N = 221
- 2. N = 1568
- 3. U = 198
- 4. U = 254
- 5. R = 187
- 6. R = 49
Full step-by-step solutions: practise this topic on examproblems.com.