Computer AwarenessHardSSC CGL · IBPS PO · RRB NTPC · SBI Clerk

What is the 8-bit two's complement representation of -10, given that +10 is 00001010?

  1. A. 11110101
  2. B. 11110110
  3. C. 10001010
  4. D. 00001010

Correct answer: B. 11110110

Invert 00001010 to 11110101 and add 1 to get 11110110. 10001010 is sign-magnitude, not two's complement.

More Computer Awareness questions

Exams that ask this topic