Fundamentals of Computer Science 1 (CS151 2003S)

Class 21: Preconditions and Postconditions

Back to Recursion with Natural Numbers (2). On to Local Bindings.

Held: Monday, 24 February 2003

Summary: Today we consider an important program design issue: the use of preconditions and postconditions to discuss our structures. We also see how to use the error procedure to report errors.

Related Pages:

Assignments

Notes:

Overview:

The Need for Documentation

Robustness; Testing Preconditions

An Example: Sum of Squares

Husk and Kernel Programming

Lab

 

History

Thursday, 16 January 2003 [Samuel A. Rebelsky]

 

Back to Recursion with Natural Numbers (2). On to Local Bindings.

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 Tue May 6 09:29:51 2003.
The source to the document was last modified on Thu Jan 16 13:45:58 2003.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2003S/Outlines/outline.21.html.

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

Samuel A. Rebelsky, rebelsky@grinnell.edu