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.

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:

  1. In your Linux account, create a cs162 (or 162) directory:   mkdir cs162
  2. Inside that directory, create a workspace directory that you won't put anything in; Eclipse will put project info there.
  3. Copy the assignment directory to your cs162 directory:   cp -r ~katz162/link162/wordsearch .
  4. 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.
  5. 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.