Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the 2’s complement of the 4-bit binary number 0101 ?

  • A.0110
  • B.1010
  • C.1011
  • D.1101

Answer: A

Correct answer: 1011

Take the 1’s complement by inverting every bit, giving 1010, then add 1 to get 1011. This representation lets a computer perform subtraction using the same adder circuit it uses for addition.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.