HW10: WordList due Mon 01 Apr 10:00

\begin{purpose}
This assignment provides practice in creating a linked list of objects.
\end{purpose}

Allowed and Disallowed Resources

In completing this assignment you MAY use/access the following resources:

You may NOT use/access:

Failure to abide by these guidelines will result in a zero for the assignment and the incident will be reported to the university provost as a violation of the university academic integrity policy. A second incident of academic dishonesty (whether from this course or another computer science course) will result in an F in the course.

Description

On lab day you created a linked list of integer data values. For this assignment you will create a linked list of Word objects. For this assignment you need only to implement the insert and display methods. Your driver will read words from a data file and build the list by calling the insert method. This assignment will take less time than most in order to accommodate our exam this week.

Suggested steps:

  1. Work in the hw10 directory.
  2. Study the provided Word.java.
  3. In the driver create a couple of Word objects and verify the code works as you expect.
  4. Copy IntNode.java to WordNode.java and modify it to replace int with Word.
  5. Test WordNode in the driver. Commit changes.
  6. Copy IntList.java to WordList.java and modify it to replace int with Word. Comment out remove() and search().
  7. Test WordList in the driver. Commit changes.
  8. Create a sample text document called words.txt with 10–15 words (one word per line) in it.
  9. In the driver use a BufferedReader to open and read the file, inserting words from the file into your linked list.
  10. Close the file and then call the display() method for your list.
  11. When everything is working, commit and push.

Grading

The assignment will be graded according to the following criteria:
Correctness 16 pts
Documentation 2 pts
Conventions 2 pts
Version Control 2 pts
Total 22 pts

Your program should be completely working and should follow all of the programming conventions named in class and explained in http://josephus.hsutx.edu/classes/all/javaconventions/ (including the use of comments that conform to the JavaDoc guidelines).

The instructor will grade your work based on what you have pushed to the hosted homework repository you have shared. For all assignments the program is due before the beginning of class on the due date. Repositories that show a commit time after that time will be graded as late.