183k views
5 votes
Given these 4 bit binary one's complement numbers: 1110 and1100, what would be a correct 4 bit binary one's complement resultof adding those two numbers (1110 + 1100)=?

a. 0100
b. 1010
c. 1011
d. 1100
e. none of the above

User Squawknull
by
6.8k points

1 Answer

1 vote

Answer:

b. 1010

Step-by-step explanation:

As per question,two 4-bit binary one's complement numbers are given-

1110 and 1100

and we have to find the addition of them,

In 1110, the MSB(most significant bit) is 1 and LSB(least signifacnt bit) is 0,So we will start addition from LSB i.e 0.

In 1100, the MSB(most significant bit) is 1 and LSB(least signifacnt bit) is 0,So we will start addition from LSB i.e 0.

Starting from LSB TO MSB-

Add 0 of 1110 with 0 of 1100

we will get 0, with no carry.

then check for the left of the previous

Add 1 of 1110 with 0 of 1100

we will get 1, with no carry.

then check for the left of the previous

Add 1 of 1110 with 1 of 1100

we will get 0, with 1 carry.

This carry is shifted to the left we will add it in addition of the two.

Add 1 of 1110 , 1 of 1100 and the left carry i.e-1.

we will get 1, with 1 carry.

So, finally we get 1 |1010, we will eliminate carry.

1010 will be the answer

User Alexander Kahoun
by
6.7k points