Set the bits so the 8-bit register holds 0xC6. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xC6
N =
2.Easy
Set the bits so the 8-bit register holds 0x47. What is the pattern's value N in decimal?
0x47
N =
3.Medium
Write −52 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −528 bit
U =
4.Medium
The 8-bit pattern 1101 1111 stores a signed integer in two's complement. What is its value N in decimal?
1101 11118 bit
N =
5.Hard
A system must give every one of 4387 items its own binary code of the same length. What is the smallest number of bits b needed?
4387
b = bit
6.Hard
Set the bits to the 8-bit result of 1000 0101 XOR 0011 1100. What is the result's value R in decimal?
1000 0101XOR0011 1100
R =
Answer key
- 1. N = 198
- 2. N = 71
- 3. U = 204
- 4. N = −33
- 5. b = 13 bit
- 6. R = 185
Full step-by-step solutions: practise this topic on examproblems.com.