Linked List Labs

Alyce Brady
Kalamazoo College


The Linked List Labs give students a chance to write a program that uses the standard Java LinkedList class and then to implement on their own two simpler classes, LinkedNodeCollection and DoublyLinkedNodeCollection. (Note: the LinkedNodeCollection class uses the ListNodeclass and is derived from the LinkedCollection class in W. Collins's Data Structures and the Java Collections Framework, McGraw-Hill, 2002.)

Downloading the Linked List Labs:

Download the zip file containing the starting code files for the Linked List Labs by right-clicking or shift-clicking on the following link: LLists.zip.

When you unzip this file, it will create a folder called LLists  that contains the instructions for the labs (in the two sub-folders), some diagrams used in the instructions, and several source files.  The lab instructions will introduce the source files as you need them.

The Linked List Labs consist of several mini-labs, which are meant to be short enough to complete in a single class period, and a programming project, which may need a longer time-block or several class periods to complete, or which could be completed outside of class.

Mini-Lab: Bad News Bearers

Tasks include:

Mini-Lab: LinkedNodeCollection and DoublyLinkedNodeCollection: Basic Observer Methods

Tasks include:

Mini-Lab: LinkedNodeCollection and DoublyLinkedNodeCollection: The Modifier Methods

Tasks include:

Programming Project: Completing the LinkedNodeCollection and DoublyLinkedNodeCollection Implementations

Tasks include: