CS 365 Project 1
Your first project, due
January 23, 2002,
is to translate the numeric pseudo-code interpreter
(described on pp. 11-24),
including the loader (pp. 19-20),
into some programming language of your choice.
Your interpreter should be capable of loading and executing the
Mean Absolute Value program (Fig. 1.5) and other (numeric) pseudo-code programs
shown in the book.
- If you use some unusual programming language, you will have to go
out of your way to make sure your program is comprehensible to us.
It is your responsibility to make sure
we can understand.
- Do not worry about simulating floating-point arithmetic or decimal numbers;
simply use the arithmetic types and operators of your programming language.
- You do not have to try to simulate the 2000-word memory of an IBM 650.
Simply declare two 1000-element arrays to hold the program to be interpreted
and its data.
The elements of the Data array should be floating-point; you can decide
the type of the Program array.
- Make sure you record your programming experiences in your
programming journal.
Return to MacLennan's home page
Send mail to Bruce MacLennan / MacLennan@cs.utk.edu
Last updated:
Wed Jan 16 14:48:13 EST 2002