Monday, January 30, 2006

This week's homework assignment:

Object-Oriented Linked List Programming Project


Overview and Objectives

This assignment will give you an opportunity to work more deeply with a objects in a linked list.

Assessment

This activity is worth 20 points.

The program must compile successfully. (0 points if it doesn't)

The program must execute without java runtime errors and reasonably accomplish the assigned task. (8 points)

The program must contain programming style elements. Inline comments explaining what is going on, and/or command line printouts describing what is happening at runtime. (2 points)

Analysis and discussion in the Blackboard discussion board (10 points).

Instructions

Based on the existing specifications of a linked list (see the LinkedListTester.java file), you will be creating an object of your own choosing, declaring and instatiating it, and then manipulating it within a linked list.
Requirements: Create an object of your own choosing. It could be class lightbulb with one variable indicating on or off. Any object will do.

Inside the LinkedListTester.java, create a function that instantiates your object, fills it with data, inserts, manipulates, and deletes it from a linked list. Examples are available in the file.

100 manipulations are required. For example, 20 insertions at the beginning of the list, 20 insertions at the end of the list, 40 deletions,10 retrievals, 10 find positions, plus one full iteration.

Must use get, add, set, remove, findPos, and ListIterator.

Upload your LinkedListTester.java file to Blackboard Linked Lists Homework 2 assignment area AND to the Linked List discussion board. Describe your object, how you manipulated it, and summarize your results in 150-300 words. Reply to at least one other post.

No comments:

Castoreum

Animal scent markings are notorious for smelling terrible. But castoreum is different. It has a musky smell that some people describe as van...