Question discussion

What is the 8-bit two's complement representation of −45?

935Medium DSSSB TGT Computer Science 0 replies 1 views
0

What is the 8-bit two's complement representation of −45?

  • A00101101
  • B11010010
  • C10101101
  • D11010011
Correct answer: D

Explanation

45 = 00101101; inverting gives 11010010 and adding 1 gives 11010011.

Discussion 0

Nobody has replied yet. Start the discussion!