The 2’s compliment of a binary no. is obtained by adding _______ to its 1’s compliment.
- AOption (a)
0
- BOption (b)
1
- COption (c)
10
- DOption (d)
12
View answer & explanationHide answer & explanation
Correct answer
1
Why this answer is correct
The correct answer is Option 2: 1
Key Points
- 2’s Complement: The 2’s complement of a binary number is obtained by inverting the bits of the binary number (1's complement) and then adding 1 to the result.
- Process:
- Step 1: Find the 1’s complement of the binary number by flipping all the bits (changing 0s to 1s and 1s to 0s).
- Step 2: Add 1 to the 1’s complement to obtain the 2’s complement.
Additional Information
- Example: Consider the binary number 1010.
- Step 1: Find the 1’s complement: Flip the bits of 1010 to get 0101.
- Step 2: Add 1 to the 1’s complement: 0101 + 1 = 0110.
- Hence, the 2’s complement of 1010 is 0110.
- Why Add 1? Adding 1 to the 1’s complement ensures that the 2’s complement represents the negative of the original number in binary arithmetic.
Hence, the correct answer is: Option 2: 1