Set the bits so the 8-bit register holds 0x33. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x33
N =
2.Easy
Set the bits so the 8-bit register holds 0x74. What is the pattern's value N in decimal?
0x74
N =
3.Medium
The 8-bit pattern 1101 1100 stores a signed integer in two's complement. What is its value N in decimal?
1101 11008 bit
N =
4.Medium
The 8-bit pattern 0010 1011 stores a signed integer in two's complement. What is its value N in decimal?
0010 10118 bit
N =
5.Hard
Set the bits to the 8-bit result of 0010 0001 >> 1. What is the result's value R in decimal?
0010 0001>> 1
R =
6.Hard
A system must give every one of 1634 items its own binary code of the same length. What is the smallest number of bits b needed?
1634
b = bit
Answer key
- 1. N = 51
- 2. N = 116
- 3. N = −36
- 4. N = 43
- 5. R = 16
- 6. b = 11 bit
Full step-by-step solutions: practise this topic on examproblems.com.