CSE370 Assignment 1
Distributed: 27 March 2000
Due: 31 March 2000
Reading:
- Katz, Chapter 1 revised - handout (pp. 1-24).
- (Optional) Katz, Chapter 1 (for an alternative to the introduction).
- Katz, Appendix A (pp. 650-661, this should be review).
- Katz, Chapter 5.1 (pp. 241-248, this should also be review).
Exercises:
-
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?
-
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).
-
Convert the following numbers to decimal:
(a) 0110102
(b) 708
(c) AB316
(d) 110011.0112
-
Convert the following numbers to base 2:
(a) 21210
(b) 478
(c) 5.312510
(d) 2D916
-
Perform the following operations (without converting to base 10):
(a) 518 + 358
(b) 00012 + 11012 + 001102
(c) 1101012 - 0110102
(d) 1102 * 0102
-
Represent the following numbers in the indicated notation:
(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
-
If a 4-bit 2s complement number is written as X4X3X2X1
then determine the Boolean expression for -510.
-
Draw a logic circuit corresponding to your expression for the previous
problem.
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: )