9. Obtain the 1's and 2's complements of the following binary numbers:
a) 00010000
b) 00000000
c) 11011010
d) 10101010
e) 10000101
f) 11111111.
10. Find the 9's and the 10's complement of the following decimal numbers:
a) 25,478,036
b) 63, 325, 600
c) 25,000,000
d) 00,000,000.
11. Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the result should be negative, find its 2's complement and affix a minus sign.
a) 10011 - 10010
b) 100010 - 100110
c) 1001 - 110101
d) 101000 - 10101
12. If the numbers (+9742.782)10 and (641.218)10 are in signed magnitude format, their sum is (+10384.000)10 and requires eight digits and a sign. Convert the numbers to binary signed-2's-complement form and find the following sums:
a) (+9742.782) + (+641.218)
b) (+9742.782) + (-641.218)
c) (-9742.782) + (+641.218)
d) (-9742.782) + (-641.218)