Set the bits so the 8-bit register holds 0xF3. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xF3
N =
2.Easy
Convert the hexadecimal number 0xB18 to decimal. Find N.
0xB18A = 10 … F = 15
N =
3.Medium
The 8-bit pattern 1101 1101 stores a signed integer in two's complement. What is its value N in decimal?
1101 11018 bit
N =
4.Medium
Set the bits so they store −74 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −748 bit
U =
5.Hard
A system must give every one of 4787 items its own binary code of the same length. What is the smallest number of bits b needed?
4787
b = bit
6.Hard
Set the bits to the 8-bit result of 1100 0000 >> 2. What is the result's value R in decimal?
1100 0000>> 2
R =
Answer key
- 1. N = 243
- 2. N = 2840
- 3. N = −35
- 4. U = 182
- 5. b = 13 bit
- 6. R = 48
Full step-by-step solutions: practise this topic on examproblems.com.