Fund. CS II (CS152 2006S)

Homework 15: Defining the SortedList Interface

Assigned: Wednesday, April 19, 2006
Due: 8:00 a.m., Friday, April 21, 2006

Summary: In this assignment, you will formally define the methods of the SortedList interface.

Purposes: To help you think more about sorted lists and about preconditions and postconditions.

The Assignment

Sorted lists, like simple lists, include a few basic operations. Assume that they contain all the methods of simple lists, and no others, but that you may need to define them differently.

Document those methods carefully, including preconditions and postconditions.

Submitting Your Work

Email me your answer. Make sure that the answer is in the body of the email and is not an attachment.

 

History

Tuesday, 18 April 2006 [Samuel A. Rebelsky]

Wednesday, 17 April 2006 [Samuel A. Rebelsky]

 

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 9 08:31:13 2006.
The source to the document was last modified on Wed Apr 19 09:51:53 2006.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS152/2006S/Homework/hw.15.html.

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

Samuel A. Rebelsky, rebelsky@grinnell.edu