Set the bits so the 8-bit register holds 0xCA. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xCA
N =
2.Easy
Convert the hexadecimal number 0x1F3 to decimal. Find N.
0x1F3A = 10 … F = 15
N =
3.Medium
Write −63 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −638 bit
U =
4.Medium
The 8-bit pattern 0100 1100 stores a signed integer in two's complement. What is its value N in decimal?
0100 11008 bit
N =
5.Hard
Set the bits to the 8-bit result of 1010 1011 >> 1. What is the result's value R in decimal?
1010 1011>> 1
R =
6.Hard
What is the most negative integer N that can be stored in 10-bit two's complement?
10 bit
N =
Answer key
- 1. N = 202
- 2. N = 499
- 3. U = 193
- 4. N = 76
- 5. R = 85
- 6. N = −512
Full step-by-step solutions: practise this topic on examproblems.com.