Assignment 1
CS 162 - Spring 2008
WordSearch
These are links to the three parts of the word search problem.
Note that you should read all of these
to understand the entire assignment.
The WordSearch page gives perspective for the others.
The example page has helpful hints.
- IO due 10AM, Tuesday, January 22 (50
points)
- FindFirst due 10AM, Monday, January 28
(50
points)
- WordSearch due 10AM, Friday, February 1
(100
points)
There is also an
example
page with more hints.
The files for this assignment are in the wordsearch directory in the
~liffick162/assignfiles directory. Directions for copying these files are given below.
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 ~liffick162/assignfiles 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.
- Using a Terminal window, copy the assignment directory to your cs162 directory:
cp -r ~liffick162/assignfiles/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.
- Give the project a name (e.g. WordSearch or wsIO).
- Under Project Layout, click the radio button on Use project folder as root for sources and class
files. Click Configure default... and click the Project button under the Source
and output folder heading.
- Click the radio button on Create project from existing source and browse to the
assignment directory (wordsearch) you copied in step 3 above.
- 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 liffick162
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 only the last one you submit.