# Carry out the following task Preform 1’s complement subtraction 110101 – 100101 Represent decimal number 0.125 into its binary form

a) Solution:

1’s complement of 10011 is 011010. Hence

  1 1 0 1 0 1
- 0 1 1 0 1 0
--------------
1 0 0 1 1 1 1

So, there is carry so, we have to add 1 to the result removing carry

0 0 1 1 1 1
+         1
-------------
0 1 0 0 0 0

Hence, result is 0 1 0 0 0 0

b) Solution:

First, we will multiply 0.125 by 2 and take integer part and repeat same process

                   Integer Part
0.125 x 2 = 0.25   --------- 0
0.25  x 2 = 0.5    --------- 0
0.5   x 2 = 1.0    --------- 1
0     x 2 = 0      --------- 0

Hence, (0.125)10 = (0.001)2