Question discussion

In a signed 8-bit system, how is −8 represented in 2’s complement?

359440Medium DSSSB TGT Computer Science 0 replies 0 views
0
In a signed 8-bit system, how is −8 represented in 2’s complement?
  • A1000
  • B11111000
  • C10001000
  • D11111111
Correct answer: B

Explanation

+8 is 00001000. Inverting gives 11110111 and adding 1 gives 11111000.

Discussion 0

Nobody has replied yet. Start the discussion!