Preview

22 - Sign and Magnitude

 1. There are many schemes for ______________________________. One scheme is sign-magnitude

  representing positive integers using bytes

  representing negative bits using integer patterns

  representing negative integers with patterns of bits

  representing negative integers using ASCII

 2. Sign and Magnitude uses one bit (usually the leftmost) to indicate the sign. "0" indicates a ____ integer, and "1" indicates a _______ integer.

  positive / negative

  negative / positive

  0 integer / 1 integer

  integer divisible by 0 / integer divisible by 1

 3. The sign bit is used up and the rest of the bits are used for the _______________ of the number.

  integer part

  shape

  negative part

  magnitude

 4. Using an 8 bit sign and magnitude number, the leftmost bit is used for the sign, which leaves 1 bit for the magnitude

  TRUE

  FALSE

 5. In S&M, one pattern corresponds to "minus zero", 1000 0000. Another corresponds to "plus zero", 0000 0000

  TRUE

  FALSE

 6. For signed binary numbers the_____________________ is used as the sign bit.

   most significant bit (MSB)

  end most bit (EMB)

  final bit (FB)

  first most bit (FMB)

 7. One of the advantages of sign and magnitude is that we have an increased range (due to the sign bit which is used)

  FALSE

  TRUE

 8. 10001001 in S&M could represent:

  minus 9

  minus 8

  positive 9

  positive 8

 9. minus 2 would be represented in S&M in the following way:

  -1110

  1010

  -1111

  -101

 10. The following number would be _______ (it is in S&M representation)
1	1	0	0	1	0	1	0

  minus 74

  positive 128

  minus 120

  positive 74

 11. In sign and magnitude, the following binary number - 010100000 - is:

  Neither positive or negative

  both positive and negative

  negative

  positive

 12. In the following illustration, if the MSB was changed to '1', what would the number be?
signandmag_advanced.gif

  It would not be possible, as a 1 would corrupt the sequence

  positive 52

  negative 52

  positive 54

 13. The range of an 8-bit sign-magnitude integer is -128 to +128

  FALSE

  TRUE

 14. There are different sign-magnitude representations for +0 and -0

  TRUE

  FALSE

 15. Adding the negative of a number is not the same as subtraction in sign-magnitude. Different operations must be defined for addition and subtraction with sign-magnitude numbers

  FALSE

  TRUE