The 2's complement of the binary number 0101 is:

2025

The 2's complement of the binary number 0101 is:

Answer: B. 1011To form the 2's complement of 0101, invert the bits to get 1010 and add 1. The result is 1011.

  1. A.

    1010

  2. B.

    1011

  3. C.

    1100

  4. D.

    1001

Attempted by 223 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.

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…