8. 10111 is the two's complement representation of:

  1. -23
  2. -9
  3. -7
  4. +22
  5. +7

3 is WRONG. The leading 1 in the code 10111 indicates that it represents a number which is negative; however that number is encoded in 2's complement form, not in straight binary = 0111 = 7. Hint: take the 2's complement of 10111.

[ Go Back To Question 8 ]

[ Go Back To The Beginning Of Quiz ]