CSE 504 Assignments

Assignment #1 -- Mar 9

Numbers
1. Implement each inverse() method
2. Implement class Complex
3. Define and implement a class for 2x2 matrices
4. Do something interesting with this package
(such as solving linear algebraic or differential equations)
Assignment #2 -- Mar 30

I/O & Collections
1. Design and implement a concordance maker.
Input: a text file (Use a Java 5 Map with K=String and V=List)
Output: words in alphabetical order, with a list of line numbers

2. Write a class to find multiple occurrences in a given directory.
(including all sub-directories)
Input: a String indicating the starting directory, eg "C:\java"
Output: file names and the locations of their occurrence
(eg, Test.txt is found 4 times in ...)

Assignment #3 -- Apr 27

Threads
1. Make a working Teacher file for a class in the library.
Send it as attachment by e-mail

2. Do some non-trivial task with Threads. Some ideas:
* Time study on how much work is done in a thread at a time
* Simulation of a waiting line with multiple servers
* Simulation of a producer-consumer relation
* Simplified Web crawler

Project -- May 25

Topic of your choice
Develop an object-oriented solution to an interesting problem.
Three aspects of your solution must be documented:
1. Design (including UML diagrams)
2. Patterns (if applicable)
3. Frameworks (if applicable)

Do not include the Java code in your report.
Send the jar file as attachment by e-mail
You should be ready to demonstrate it.

Web design: Erdinç Yilmazel
Last update: Mar 2006