Computer Science, asked by RaghavendraAM7815, 1 year ago

Write the 1’s complement procedure.

Answers

Answered by charlie1505
17

Answer:

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)

Explanation:

for eg

binary digit- 1100

1s complement-0011

Answered by ranjith9843333
3

Answer:

Step 1 : convert given decimal number into Binary Step 2 : if the binary bit contains 8 bits if less add 0 at the left most bit, to make it as 8 bits. Step 3 : Invert all the bits, (i.e.) change 1 as 0 and 0 as 1.Read more on Sarthaks.com - https://www.sarthaks.com/1022973/write-the-1s-complement-procedure

Explanation:

Similar questions