CMPS 375 Computer Architecture
Assignment 2 (Spring 2005)


Assignment 2 (Chapter 2)
Due: February 3, 2005


  1. Perform the following base conversion:   (1518)10 = (__________)7
  2. Convert the decimal number (305.2)10 to binary with a maximum of six places to the
    right of the binary point.
  3. Find the 5's complement of (25104)6.
  4. Represent the decimal integer 35 in binary using 8-bit signed magnitude, one's
    complement, and two's complement.
  5. Represent the decimal integer -35 in binary using 8-bit signed magnitude, one's
    complement, and two's complement.
  6. Given that the ASCII code for A is 0100 0001, what is the ASCII code for G?
  7. Represent the decimal number (-3.2)10 in normalized floating-point in a 14-bit word.
    (1-bit sign, 5-bit exponent with a bias of excess-16, and 8-bit mantissa)
  8. Represent the decimal number (-218.8125)10 in normalized floating-point in a 14-bit word.
    (1-bit sign, 5-bit exponent with a bias of excess-16, and 8-bit mantissa)