CS 110: Elements of Computing. Instructor: Jim Aspnes
Due Friday, September 27th, 2002, at 5:00pm.
Do problems 5, 39, and 42 from the end of Chapter 1 of Brookshear. For problem 42, you may provide for each answer either a decimal expansion (e.g. 5.125) or a fraction (5 1/8).
Write up an email message containing your full name and the answer to these problems in plain text format (this means no HTML or Microsoft word documents), and send it to aspnes+110-02-2@cs.yale.edu. (Note: this is not the same email address as for previous homework.)
When moving values from one memory location to another, the move operation is really a copy. The new location gets the value of the old location, and the value of the old location is unchanged.
For example: Suppose the contents of the memory are
Address | Value |
00 | 1C |
01 | AF |
02 | E1 |
03 | 42 |
And now we do a move of the contents of 00 to 03. The new contents of the memory will be
Address | Value |
00 | 1C |
01 | AF |
02 | E1 |
03 | 1C |
Fri 20 Dec 2002 16:30:57 EST hw2.tyx Copyright © 2002 by Jim Aspnes