Electronically Submitting your Prolog Assignment

The process of submitting your Prolog assignment has four steps:

·         name your files properly,

·         create a tar file,

·         compress it, and

·         submit the compressed file.

 

More precisely:

  1. Name your files and directory according to the following convention, to be sure the TA finds everything you have done. Make sure you have tested your program on osf1.   Do not add comments after testing. Do not ftp your program from Windows in binary mode.

 

  1. Create a tar file of all the files required by the assignment identified in paragraph 1.  The procedure for constructing the tar file is:

                                 i.            Start in the directory that contains all the files for your assignment.

                               ii.            At the system prompt (shown here as osf1.gmu.edu>), type the following:

osf1.gmu.edu> mkdir temp

(You can use any name in place of temp.)

                              iii.            Copy (cp) all the files needed into temp.

                             iv.            Make a tar file of the temp directory:

osf1.gmu.edu>tar cf yourname.tar temp

(If you used another name in place of temp, use it here, too.)
Important:    yourname.tar is your mailbox name concatenated with .tar, e.g. btran9.tar. To check that all the files are present in the tar file, at the system prompt type:

osf1.gmu.edu>tar tvf yourname.tar

When you reach this point you have successfully created the tar file.

  1. Compress your tar file, by doing the following at the system prompt:

osf1.gmu.edu>gzip yourname.tar

This deletes yourname.tar and replaces it with yourname.tar.gz

  1. Submit the compressed tar file electronically. To use the submit program, type the following:

Notice that all students use ~cs33001/330bin/submit . This is followed by the number 1 for this assignment. Different numbers will be used for other programming assignments.

You will get a message telling you that your submission was (i) successful, (ii) successful but late or (iii) not successful. If you get the third message for several attempts, email your submission to the TA for the course, Billy Wagner (wwagner@gmu.edu). The system keeps the most recent submission per student.