Q. Write the l’s compliment for 100110?
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.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.