CMPS 101
Programming Assignments

Assignments:
pa1:  pdf, word  Extended to Sunday April 23  10:00 pm
pa2:  pdf, word  Extended to Monday May 1   10:00 pm
pa3:  pdf, word  Extended to Tuesday May 16  10:00 pm
pa4:  pdf, word  Extended to Thursday June 1  10:00 pm
pa5:  pdf, word  Extended to Wednesday June 13  10:00 pm
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, then click on the link labeled Activate UCSC AccountInstructional Computing (IC) provides a number of  help pages to get you started.  Logon to the host unix.ic to access your account.  You may develop your programming projects on any platform you like, but you must port them to the IC-Unix environment before submitting them, since that is where they will be evaluated.

Submitting a Programming Assignment On-Line:

To submit a programming assignment, log on to one of the IC Solaris machines (unix.ic, unix1.ic, unix2.ic), then cd to the directory where your program resides.  Type the following at the Unix prompt (%):
% submit  cmps101-pt.s06  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 pa1, pa2, etc.  All assignments in this class require that you submit multiple files, including a README and Makefile.  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 by the system, and to check what was actually submitted, use the peek command:
% peek  cmps101-pt.s06  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  cmps101-pt.s06  junk  dummy_file
then run peek on assignment "junk".  Files submitted in this way will not be graded or even looked at. 

In addition to the peek command, it is highly recommended that you do the following to check your submission.  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/cmps101-pt.s06/<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 do make (don't do make in our homework directory, since that would create unwanted files.)  You will see just what the grader will see.  Do this to make sure you haven't left out any files.


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