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 using ASCII

  representing negative integers with patterns of bits

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

  negative / positive

  integer divisible by 0 / integer divisible by 1

  positive / negative

  0 integer / 1 integer

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

  negative part

  integer part

  shape

  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

  FALSE

  TRUE

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

   most significant bit (MSB)

  final bit (FB)

  end most bit (EMB)

  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)

  TRUE

  FALSE

 8. 10001001 in S&M could represent:

  positive 9

  positive 8

  minus 8

  minus 9

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

  1010

  -1110

  -1111

  -101

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

  positive 74

  minus 120

  minus 74

  positive 128

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

  Neither positive or negative

  negative

  both positive and negative

  positive

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

  negative 52

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

  positive 52

  positive 54

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

  TRUE

  FALSE

 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

  TRUE

  FALSE