Q. Write the 2’s compliment for 100110?

A
100111
B
011001
C
111001
D
011010
Solution:

The two’s complement of a binary number is obtained by:

1. Replacing all the 1s with 0s and the 0s with 1s. This is known as its one’s complement.
2. Adding 1 to this number by the rules of binary addition.
The 1’s complement of 100110 is 011001.
2’s complement is 011010.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!