Using 8-bit two’s-complement representation, the binary code for decimal -5 is?

  • A00000101
  • B11111010
  • C11111011
  • D10000101
Report an error
Correct Answer: C. 11111011
Explanation: Start with +5 = 00000101, invert the bits to 11111010 and add 1, giving 11111011.
Reference: Standard digital electronics: two's complement
Continue practicing: Digital Electronics MCQs or browse all MCQs.