CSCI 1321 (Principles of Algorithm Design II):
Sample Programs
Disclaimer: Code linked from this page is intended as a
cleaned-up and commented version of examples from class.
Many programs and classes could be further improved with
regard to functionality or design, but then they would
no longer be as close to what we did in class.
- Geometric shapes (example of inheritance and interfaces),
version 1 (09/10).
- Geometric shapes (example of inheritance and interfaces),
version 2 (09/24).
- Example of using String class (09/17).
- Example of sorting and searching (10/01).
- Examples of ADT classes (10/03, 10/08, 10/24, 11/19) --
stack, queue, list, sorted binary tree.
- Examples of GUI classes (10/15, 10/22, 10/31).
- Example of use of I/O and network classes (12/03, 12/05).