The First Assignment
CS 162 - Spring 2008
Word Search
These are links to the three parts of the word search problem.
Note that you should read all of these
to understand the assignment.
The word search page gives perspective for the others.
The example page has helpful hints.
- IO due 10PM, Tuesday, January 22 (50 points)
- FindFirst due 5PM, Friday, January 25 (50 points)
- WordSearch due 5PM, Friday, February 1 (100 points)
Class lab time on Jan. 30 will not be used for completing this.
There is also an
example
page with more hints.
All four will be distributed in class the first day of class.
The files for this assignment are in the wordsearch directory in the
~katz162/link162 directory.
Setting Up for the Semester
You should keep your files for your courses in separate directories.
I have found it most convenient to have separate Eclipse workspaces for
my courses and to keep the source directories separate from the
Eclipse workspace.
Throughout the term, we'll use the ~katz162/link162 directory
on the Computer Science Linux server to
hold the starting files for assignments.
To start the semester, I suggest going through these steps:
- In your Linux account, create a cs162 (or 162) directory:
mkdir cs162
- Inside that directory, create a workspace directory that you won't put anything in; Eclipse will put project info there.
- Copy the assignment directory to your cs162 directory:
cp -r ~katz162/link162/wordsearch .
- Launch Eclipse and make your workspace be the new directory called workspace.
Browse there if Eclipse asks you when it starts. If not,
choose File / Switch Workspace / Other... and
browse to it. After the workspace is initialized, you may need to
choose the down-pointing arrow at the right to go to the workbench.
- Create a new project using the assignment directory by doing the following:
- Choose
File / New / Java Project.
- Under Project Layout, click before Use project folder as root for sources and class files and also click Configure default... for that.
- Click before Create project from existing source and browse to the
assignment directory you copied.
- Give the project a name (WordSearch or wsIO) and then click Finish.
For later assignments, you may need to do steps 3 and 5.
To submit an assignment, in the Terminal be in the directory where
your source code is. Type submit and use katz162
for the grader account.
If you want me to look at your code to answer a question, that's the
easiest way for me to see what you have and try to run it.
I grade the last one you submit.