Arithmetic Quiz

  1. For an 8-bit group, work out the representation for −3710 in

    1. Sign & Magnitude
    2. One's Complement
    3. Two's Complement
    4. Excess-256
    5. (Note: The n in Excess-n does not have to equal 2m−1, where m is the number of bits in the bit-group)
    6. Excess-128

  2. For a 10-bit group, what range of integers cen be represented using

    1. Sign & Magnitude
    2. One's Complement
    3. Two's Complement
    4. Excess-512

  3. Express 9876510 in Binary Coded Decimal
  4. Form the negative equivalent of the following 8-bit Two's Complement numbers

    00011001   00011110   01101000   01110100

    by comparing the resulting bitpatterns to the originals, can you spot a "short cut" method for the conversion?
  5. Perform the following 12-bit two’s complement subtraction

     1010 1010 1011
    −1011 0000 1101
    

    Check your answer by determining the decimal representation of the numbers and the result


[ Index ]

last updated: 24-Oct-06 Ian Harries <ih@doc.ic.ac.uk>