CSE370 Assignment 1


Distributed: 25 September 2000
Due: 2 October 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? How long should you spend on each homework problem before discussing it with others? 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 choose to do so rather than just relying on the class e-mail archive).
  3. Convert the following numbers to decimal:

  4. (a) 00110112
    (b) 1748
    (c) 3F816
    (d) 1101.10112
  5. Convert the following numbers to base 2:

  6. (a) 25410
    (b) 1748
    (c) 2.437510
    (d) 0C516
  7. Perform the following operations (without converting to base 10):

  8. (a) 158 + 538
    (b) 00012 + 10012 + 001112
    (c) 1101002 - 0110102
    (d) 1012 * 0112
  9. Represent the following numbers in the indicated notation:

  10. (a) -26 in 6-bit signed magnitude (1 sign bit and 5 bits for the magnitude)
    (b) -26 in 6-bit 2s complement
    (c) what are the smallest and largest numbers you can represent in 8-bit 2s complement notation
    (d) represent the 8-bit 2s complement number 11111100 as a 4-bit 2s complement number
  11. The digits of a 4-bit 2s complement number can be represented by the variables X8, X4, X2, and X1, respectively.
    (a) Determine the Boolean expression for -610 represented as a 4-bit 2s complement number using the 4 variables.
    (b) Draw a logic circuit corresponding to your expression for the previous problem.
  12. Find the state table for the state diagram we derived in class for the modified combination lock (see slide #45 in the Introduction lecture notes). Do not worry about coming up with a state encoding. A symbolic state table will do.

Rationale:


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