Q. Write the l’s compliment for 100110?

A
100111
B
011001
C
111001
D
000111
Solution:

The ones’ complement of a binary number is defined as the value obtained by inverting all the bits in the binary representation of the number (swapping 0s for 1s and vice versa). The ones’ complement of the number then behaves like the negative of the original number in some arithmetic operations.

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!