The 2's complement of the binary number 0101 is:
2025
The 2's complement of the binary number 0101 is:
- A.
1010
- B.
1011
- C.
1100
- D.
1001
Attempted by 41 students.
Show answer & explanation
Correct answer: B
To form the 2's complement of 0101, invert the bits to get 1010 and add 1. The result is 1011.