Computer Science, asked by pranjalagrawal8717, 1 year ago

What is the 1’s complement of 00100110?
A) 00100110
B) 11011001
C) 11010001
D) 00101001

Answers

Answered by NavyaArohi
13
B) 11011001
just change 1--->0 and 0--->1
Answered by jeehelper
6
The 1's complement of 00100110 is the option B) i.e. 11011001.

A brief description of what 1's complement is:

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 0's for 1's and vice versa). The 1's of the number then behaves like the negative of the original number in some arithmetic operations.
Similar questions