CSU Long Beach
CECS 274
Programming and Problem Solving II


Syllabus
Schedule
Grading
Project 1
Project 2
Solution to Project 2
Project 3
Solution to Project 3
Project 4
Solution to Project 4
Project 5
Set Solution to Project 5
Map Solution to Project 5
Lecture Notes
Basic Unix Commands
Basic vi Commands
More vi Commands
Using Eclipse
Compiling and Running Java on Unix


Mimi Opkins Home

Project 2

Assignment

  • Create a program that reads in a text file and finds the unique words.
  • Print out the unique words in alphabetical order
  • Make sure you use appropriate exception handling
  • Make sure you document the program as specified in the grading guidelines. Document the methods describing their purpose, input and output.
  • You will hand in a printout of the program(s), sample output and a UML class diagram along with a demo in the lab.
  • Hint: Take a look at the Collections utility class. There are static methods that could help with the sort.
    Don't forget to not only take a look at the ArrayList methods, but at the Collection interface methods for help in finding the unique words.

Grading Criteria

    You will be graded on the following components:
  • Does the program do what is required
  • Is it properly documented
  • Is it fully tested
  • Is it properly designed