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:
- 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.
- Project1.l
(with a lowercase "L" after the dot) is the name of the file
containing the facts and rules, combined into a single file
- scpt is the
output test file or script file.
- readme is your
discussion file, providing the intensive specification for the Language
and some justification for the
conclusion
- temp is the
directory containing the three files described above.
- 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.
- 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
- Submit the compressed
tar file electronically. To use the submit program, type the
following:
- Section 1(Hamburger), Assignment 1:
osf1.gmu.edu>
~cs33001/330bin/submit 1 ./yourname.tar.gz
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.