Convert the hexadecimal number 0xB4A to decimal. Find N.
Number systems worksheet with answers
1.Easy
0xB4AA = 10 … F = 15
N =
2.Easy
Set the bits so the 8-bit register holds 0x69. What is the pattern's value N in decimal?
0x69
N =
3.Medium
Set the bits so they store −88 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −888 bit
U =
4.Medium
The 8-bit pattern 1010 0000 stores a signed integer in two's complement. What is its value N in decimal?
1010 00008 bit
N =
5.Hard
Set the bits to the 8-bit result of 1000 1010 >> 3. What is the result's value R in decimal?
1000 1010>> 3
R =
6.Hard
A system must give every one of 4914 items its own binary code of the same length. What is the smallest number of bits b needed?
4914
b = bit
Answer key
- 1. N = 2890
- 2. N = 105
- 3. U = 168
- 4. N = −96
- 5. R = 17
- 6. b = 13 bit
Full step-by-step solutions: practise this topic on examproblems.com.