## CSE370 Assignment 1

### Distributed: 29 March 1999 Due: 2 April 1999

1. Katz, Chapter 1 (pp. 1-35, for an alternative to the introduction to the material of the course).
2. Katz, Appendix A (pp. 650-661, this should be review).
3. 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. Become familiar with the NT computing environment if you are not already.
3. Convert the following numbers to decimal:

4. (a) 1100112
(b) 638
(c) 3316
(d) 1100010.1012
5. Convert the following numbers to base 2:

6. (a) 21210
(b) 378
(c) 17.437510
(d) D2C316
7. Perform the following operations (without converting to base 10):

8. (a) 328 + 168
(b) 00112 + 10012 + 01102
(c) 101012 - 010102
(d) 1110012 - 0011102
9. Represent the following numbers in the indicated notation:

10. (a) -15 in 6-bit signed magnitude (1 sign bit and 5 bits for the magnitude)
(b) -15 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 4-bit 2s complement number 1001 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 -610.
12. Draw a logic circuit corresponding to the expression: Z = (A · B') + (C · D').

#### Rationale:

• To review number systems.
• To gain familiarity with some of the basic concepts in digital logic.

Comments to: cse370-webmaster@cs.washington.edu (Last Update: 03/29/99)