Convert the binary number 0111 0000₂ to decimal. Find N.
Number systems worksheet with answers
1.Easy
0111 0000₂
N =
2.Easy
Set the bits so the 8-bit register holds 0xC2. What is the pattern's value N in decimal?
0xC2
N =
3.Medium
Write −47 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −478 bit
U =
4.Medium
The 8-bit pattern 1100 1010 stores a signed integer in two's complement. What is its value N in decimal?
1100 10108 bit
N =
5.Hard
Set the bits to the 8-bit result of 1101 1011 << 1. What is the result's value R in decimal?
1101 1011<< 1
R =
6.Hard
Set the bits to the 8-bit result of 0011 1100 >> 1. What is the result's value R in decimal?
0011 1100>> 1
R =
Answer key
- 1. N = 112
- 2. N = 194
- 3. U = 209
- 4. N = −54
- 5. R = 182
- 6. R = 30
Full step-by-step solutions: practise this topic on examproblems.com.