Carry out the following task

  1. Preform 1’s complement subtraction 110101 – 100101
  2. Represent decimal number 0.125 into its binary form

This answer is restricted. Please login to view the answer of this question.

Login Now

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

If you found any type of error on the answer then please mention on the comment or report an answer or submit your new answer.
Leave your Answer:

Click here to submit your answer.

Discussion
0 Comments
  Loading . . .