Which of the following is the 2’s complement of the binary number 0101010100?

2022

Which of the following is the 2’s complement of the binary number 0101010100?

Answer: A. 1010101100To find the two's complement, first invert all bits of the original binary number to get the one's complement. Inverting 0101010100 results in 1010101011.…

  1. A.

    1010101100

  2. B.

    1010101011

  3. C.

    1010101010

  4. D.

    1110101100

Attempted by 382 students.

Show answer & explanation

Correct answer: A

To find the two's complement, first invert all bits of the original binary number to get the one's complement. Inverting 0101010100 results in 1010101011. Finally, add one to this value to obtain the final two's complement of 1010101100.

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…