CECS-174: Submitting Java Programming Assignments
This page contains instructions on how to submit programming assignments. Read the
specific assignment description to learn which files must be submitted. The instructions
in this page will assume that you're submitting multiple Java source code files.
Instructions
- Create a folder in which you will put all the files to be submitted. As the name
of the folder, use your full last name followed by the first letter of your first,
followed by an abbreviation of the assignment that you're submitting. For example:
MongeA-HW1. The instructions below refer to this as a
submission folder
- Put a copy of all the files you want to submit into the submission folder. Thus,
if you will submit Turtle.java, then copy the file from the bookClasses
directory and place the copy in your submission folder. Do this for every file you
are to submit for the assignment. Be sure not to copy the backup files (those that
end with a suffix of .java~) created by DrJava. Also, do not copy the
files that contained the compiled code, these are files that end with .class.
Copy only the files with Java source code and thus end with a suffix of
.java plus any additional files you are asked to include (such as
the JPG picture used).
- In MS Windows, right-click on the submission folder and choose Send To
from the menu and then the option Compressed (zipped) Folder. This
will compress the entire folder and create a file with the folder name and a suffix
of .zip. Thus for the example above this will create a file named
MongeA-HW1.zip.
- In Linux, start a terminal session and use the cd command to
change directories to the directory just above the submission folder. Thus, when
you do a listing of all the files and folders, you should see listed your own submission
folder. At the shell prompt, enter the command zip -r submissionFolderName.zip
submissionFolderName. Be sure to use the appropriate submission folder name, thus
in the example used in these insturctions, the full command is
zip -r MongeA-HW1.zip MongeA-HW1. This command will display information letting
you know that the files are being compressed and when done, you'll have created
a file with the extension .zip, that's MongeA-HW1.zip in the example.
- Compose a new e-mail message to my e-mail address: amonge@csulb.edu using
your e-mail client and include the .zip file
you created as an attachment in the message. Be sure to write a
descriptive and appropriate subject line (e.g.: CECS-174 M/W: submitting HW#1).
Also send a copy of the e-mail message to yourself and keep it as proof that you've
submitted the assignment.