CSE 378 Assignment 1

Winter 2001

Due: Wednesday 1/10/01

  1. Subscribe to class mailing list (do this soon)
  2. Read Chapters 1, 4.1-4.4, and start Chapter 3 of the text.
  3. Do, but don't hand in, questions 1.1-1.26.
  4. Do and hand in the following questions:
  5. For the next 4 questions, convert the given decimal number to a 32-bit, two's complement binary number AND also write the resulting binary number in hexidecimal notation.
    1. 56,479
    2. 4,095
    3. -2,048
    4. -3,456,112
  6. For the next 3 questions, convert the given two's complement binary number to both hexidecimal and decimal.
    1. 1111 1111 1111 1111 1111 1110 0011 1001
    2. 1111 1111 1111 1111 1111 1111 1111 1100
    3. 0111 1111 1111 1111 1010 1101 0100 1110
  7. For the next 3 questions, convert the given hexidecimal number to both binary and decimal (assume we're using two's complement representation).
    1. 10100010
    2. FFFF456B
    3. 94FAABC1
  8. Extra Credit:Convert 458 (base 10) to base -3.


dugan@cs.washington.edu