Convert the hexadecimal number 0x35A to decimal. Find N.
Number systems worksheet with answers
1.Easy
0x35AA = 10 … F = 15
N =
2.Easy
Set the bits so the 8-bit register holds 0xF0. What is the pattern's value N in decimal?
0xF0
N =
3.Medium
Set the bits so they store −71 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −718 bit
U =
4.Medium
The 8-bit pattern 1100 0110 stores a signed integer in two's complement. What is its value N in decimal?
1100 01108 bit
N =
5.Hard
What is the most negative integer N that can be stored in 10-bit two's complement?
10 bit
N =
6.Hard
A system must give every one of 1495 items its own binary code of the same length. What is the smallest number of bits b needed?
1495
b = bit
Answer key
- 1. N = 858
- 2. N = 240
- 3. U = 185
- 4. N = −58
- 5. N = −512
- 6. b = 11 bit
Full step-by-step solutions: practise this topic on examproblems.com.