CMPS 12L
Spring 2007
Lab Assignments

lab1:  pdf, word   Due Friday January 18,  10:00 pm  
lab2:  pdf, word   Due Tuesday February 5,  10:00 pm
lab3:  pdf, word   Due Friday February 15,  10:00 pm
lab4:  pdf, word   Due Wednesday February 20,  10:00 pm  Extended to Thursday 2/21  10:00 pm
lab5:  pdf, word   Due Friday February 29,  10:00 pm  Extended to Monday 3/3  10:00 pm
lab6:  pdf, word   Due Friday March 7,  10:00 pm 
lab7: 
lab8:  
lab9: 
lab10: 

Getting a Computer Account:
It is a requirement of this course that all students have an active UCSC computer account.  If your account is not already activated, go to the UCSC portal:  http://my.ucsc.edu, and log in using the User ID and Password that were sent to you by the Registrar's Office.  Click on the link labeled Activate UCSC Account, and follow the subsequent instructions.  Logon to the host unix.ic.ucsc.edu to access your account.  (If you don't know how to logon to your account, you need to go to a lab session to learn how.)  You may develop your programming and lab projects on any platform you like, but you must port them to the UCSC  ITS - Instructional Computing Unix environment to submit them.  I highly recommend that you test your projects thoroughly on this platform before sumitting, since this is where they will be evaluated.

Submitting a Lab Assignment Online:
To submit a programming assignment, logon to one of the IC Solaris hosts (unix.ic.ucsc.edu, unix1.ic.ucsc.edu, or unix2.ic.ucsc.edu), then cd to the directory where your program resides.  Type the following at the Unix prompt (%):
% submit  cmps012l-pt.w08  assignment_name  file1  file2   ...
In the above example file1, file2, etc are the files to be submitted, and  "assignment_name" is the name of the assignment, such as lab1, lab2, etc.  Most assignments will require that you submit multiple files.  If you decide that you don't like what you submitted and want to submit a better version of the assignment (before the due date of course), just submit again using the same file name.  The new submission overwrites the old.  To verify that an assignment was accepted, and to check what was actually submitted, use the peek command:
% peek  cmps012l-pt.w08  assignment_name
You'll get a listing of all files which have been submitted for that assignment with the option of viewing the contents of each file.  If you just want to check and see if you are using the submit and peek commands correctly, submit some dummy file to the assignment name "junk".  For example
% submit  cmps012l-pt.w08  junk  dummy_file
then
% peek  cmps012l-pt.w08  junk
Files submitted in this way will not be graded or even looked at. 

In addition to the peek command to check your submission, it is highly recommended that you do the following:  First create an empty directory in your home directory, call it 'test' say (% mkdir test), then cd to the homework directory for this assignment:

% cd afs/cats.ucsc.edu/class/cmps012l-pt.w08/<assignment name>/<your user name>

then cp all the files there to your test directory:

% cp * ~/test

then cd back to your test directory and type ls to see what's there.  Compile the project, run it, and test it.  You will see exactly what the grader will see.  Do this to make sure you haven't left out any files, and that you have turned in your most recent version of the project.


If you find any errors, please report them to: ptantalo@soe.ucsc.edu


webmaster@soe.ucsc.edu

Back to the SOE Class Home Pages
Back to the SOE Home Page