Math, asked by priyankajain6302, 11 months ago

Explain the 1 s and 2s complement method of binary addition

Answers

Answered by gurukulamdivya
0

Answer:

Step-by-step explanation:

find the sum of the following by using 2’s complement:

(i) -1011 and -0101

Solution:

                    + 1 0 1 1           ⇒          0 1 0 1 1

                    - 0 1 0 1           ⇒          1 1 0 1 1     (2’s complement)

               (Carry 1 discarded)               0 0 1 1 0

Hence the sum is + 0110.

(ii) + 0111 and – 0011.

Solution:

                   + 0 1 1 1           ⇒          0 0 1 1 1

                    - 0 0 1 1           ⇒          1 1 1 0 1      

               (Carry 1 discarded)               0 0 1 0 0

Hence the sum is + 0100.

Similar questions