The 2’s complement of a binary no. is obtained by adding…..to its 1’s complement.

0
1
10
12 E. None of the above

The correct answer is: B. 1

The 2’s complement of a binary number is obtained by adding 1 to its 1’s complement. The 1’s complement of a binary number is obtained by flipping all the bits in the number. For example, the 1’s complement of 1010 is 0101.

To calculate the 2’s complement of a binary number, we add 1 to its 1’s complement. In the example above, the 2’s complement of 1010 is 1101.

The 2’s complement of a binary number is the number that is one less than the number itself. For example, the 2’s complement of 1010 is 1101, which is one less than 1011.

The 2’s complement is used in many digital systems, such as computers and calculators. It is also used in some programming languages, such as C and C++.

Here is a brief explanation of each option:

  • Option A: 0. This is not the correct answer because the 2’s complement of a binary number is not always 0. For example, the 2’s complement of 1010 is 1101.
  • Option B: 1. This is the correct answer because the 2’s complement of a binary number is obtained by adding 1 to its 1’s complement.
  • Option C: 10. This is not the correct answer because the 2’s complement of a binary number is not always 10. For example, the 2’s complement of 1010 is 1101.
  • Option D: 12. This is not the correct answer because the 2’s complement of a binary number is not always 12. For example, the 2’s complement of 1010 is 1101.
  • Option E: None of the above. This is the correct answer because option B is the only option that is correct.