CSE370 Assignment 1


Distributed: 27 March 2000
Due: 31 March 2000


Reading:

  1. Katz, Chapter 1 revised - handout (pp. 1-24).
  2. (Optional) Katz, Chapter 1 (for an alternative to the introduction).
  3. Katz, Appendix A (pp. 650-661, this should be review).
  4. Katz, Chapter 5.1 (pp. 241-248, this should also be review).

Exercises:

  1. Familiarize yourself with the CSE 370 web pages. The written assignments (such as this one) account for what percentage of the final grade? What question would you like to see on the course evaluation that is currently not on the list?
  2. Make sure you have an NT account and can login to the machines in the instructional labs. Add yourself to the class mailing list using majordomo (if you haven't done so already).
  3. Convert the following numbers to decimal:

  4. (a) 0110102
    (b) 708
    (c) AB316
    (d) 110011.0112
  5. Convert the following numbers to base 2:

  6. (a) 21210
    (b) 478
    (c) 5.312510
    (d) 2D916
  7. Perform the following operations (without converting to base 10):

  8. (a) 518 + 358
    (b) 00012 + 11012 + 001102
    (c) 1101012 - 0110102
    (d) 1102 * 0102
  9. Represent the following numbers in the indicated notation:

  10. (a) -28 in 6-bit signed magnitude (1 sign bit and 5 bits for the magnitude)
    (b) -28 in 6-bit 2s complement
    (c) what are the smallest and largest numbers you can represent in 16-bit 2s complement notation
    (d) represent the 4-bit 2s complement number 1100 as an 8-bit 2s complement number
  11. If a 4-bit 2s complement number is written as X4X3X2X1 then determine the Boolean expression for -510.
  12. Draw a logic circuit corresponding to your expression for the previous problem.

Rationale:


Comments to: cse370-webmaster@cs.washington.edu (Last Update: )