Fund. CS II (CS152 2005S)

Homework 1: Rational Numbers

Assigned: Monday, January 24, 2005
Due: Tuesday, January 25, 2005

a. Make a list of all the operations you would expect a rational number (fraction) library to support.

b. Classify each operation as either Oserver (extracts information from the rational number), Mutator (modifies an existing rational number), or Constructor (builds a new rational number).

If you have difficulty with part two, don't worry about it.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed May 11 10:55:28 2005.
The source to the document was last modified on Mon Jan 24 10:25:49 2005.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS152/2005S/Homework/hw.01.html.

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky, rebelsky@grinnell.edu