Set the bits so the 8-bit register holds 0x2C. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x2C
N =
2.Easy
Convert the binary number 1110 0000₂ to decimal. Find N.
1110 0000₂
N =
3.Medium
Set the bits so they store −45 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −458 bit
U =
4.Medium
The 8-bit pattern 1111 0100 stores a signed integer in two's complement. What is its value N in decimal?
1111 01008 bit
N =
5.Hard
Set the bits to the 8-bit result of 1110 0001 OR 1000 0001. What is the result's value R in decimal?
1110 0001OR1000 0001
R =
6.Hard
Set the bits to the 8-bit result of 0110 1001 >> 3. What is the result's value R in decimal?
0110 1001>> 3
R =
Answer key
- 1. N = 44
- 2. N = 224
- 3. U = 211
- 4. N = −12
- 5. R = 225
- 6. R = 13
Full step-by-step solutions: practise this topic on examproblems.com.