COSC 201 Laboratory Assignments

Lab 1 (solution) · Lab 2 (solution) · Lab 3 (solution) · Lab 4 (solution) · Lab 5 (solution) · Lab 6 (solution) · Lab 7 (solution) · Lab 8 (solution) · Lab 9 (solution) · Lab 10 (solution) · Lab 11 (solution)

Due Dates

Unless stated otherwise, all lab assignments are due before your next lab period.

Turning In Files

Each student should have a courses directory. The permissions on this courses directory have been specially set so that only the individual student and faculty can access files and directories within it. No other students can gain access to the contents of the courses directory. Be careful not to modify the permissions on this directory. If the permissions are too restrictive, then faculty will not have access to the contents of the directory, and will not be able to grade your assignments. If the permissions are too lax, then other students will have access to the contents of the directory. The permissions should be set to rwx for the owner, r-x for the faculty group, and --- for others.

A directory named 201 should be created within the courses directory. A directory named assignments should be created within the 201 directory.

Do not work directly with files within the assignments directory. Instead, create a separate working directory for each lab in the 201 directory. When the lab is finished, place copies of the requried files in the assignments directory. Any files placed in the assignments directory may be considered "turned in" whether complete or not.

It is important that all files and directories be named exactly as specified, including capitalization. If the names are incorrect, then your instructor may have difficulty finding and grading your assignments.

Remote Access to Files

You can access your files using a web browser from any computer on campus. Enter a URL of the form <ftp://user@cs.colgate.edu>, where "user" is replaced with your login name. Also note that there is no "/" at the end of the URL. You should be prompted for your password.

Simulators

If you own a computer, you can download and install the SPIM and LogiSim simulators so that you can work on your assignmens outside the lab.