Fundamentals of Computer Science II (CSC-152 97F)

[News] [Basics] [Syllabus] [Outlines] [Assignments] [Examples] [Readings] [Bailey Docs]


Assignment Five: Lists

Summary: In this assignment, you will implement singly linked lists using arrays.

Note: I'd recommend you get this done by Thursday, October 30, since support is generally available on Tuesday and Wednesday and the next assignment will be due the following Thursday. However, I have given you some extra time since it's post-break.

Collaboration: You can work on this assignment in groups of up to size three. You may discuss your design with any size group. You may also work with each other on general debugging issues.

If you work as part of a group, you are responsible for ensuring that all members of the group understand all sections of the assignment.

Assignment

Develop an array-based implementation of lists of integers, called IntList. Your implementation should include a "current" reference to the list. Your implementation should support the following routines (and they should have the same names):

Note that you will need to define your own ListException class (and perhaps subclasses of that class). You should also develop an appropriate test suite for your class.


[News] [Basics] [Syllabus] [Outlines] [Assignments] [Examples] [Readings] [Bailey Docs]

Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

Source text last modified Tue Nov 4 07:43:08 1997.

This page generated on Tue Nov 4 07:43:53 1997 by SiteWeaver.

Contact our webmaster at rebelsky@math.grin.edu