The programming assignment is usually divided into several parts to be submitted during reading weeks 1-8.
The programming assignment process goes like this:
Also note that these cheating rules includes a two person group where one member is not very involved in the work.
The "active" member MUST exclude the other person when submitting the work, or notify the examiner.
The group is a group and both students should be active and aware of
the labs content. It's not ok to divide the work and not know the
other half.
Both group members has a responsibility here. If you submit as a group
and we find that one of the groupmembers has very little knowledge of
the lab or parts of the lab then *the group* is rejected i.e. both
students fail in the lab. In severe cases we will also report a case
of cheating.
The documentation normally consists of
You must implement programs in the programming language Java and the program has to be compilable (and runable) on a StuDat computer see below.
The correctness of your labs will be partially checked by testing software therefore you must be careful to follow the instructions in each assignment about input/output and placements of code.
a) Create a directory in your homedirectory or somewhere else where you like to keep these files. Call it something like pt, algo, labs, ....
b) Move to this directory and create directorys there for each part of the lab called "x.lab1", "x.lab2" and so on where x is your labgroup number from Fire.
You put the sourcecode and the README/labreport files in x.laby and when you submit it is this directory and it's content that you submit.
So a README file that belongs to lab 1 for the labgroup 53 in the course algorithms will be placed in
your homedir/algo/53.lab1/READMEand when you submit i.e. compress with zip, you do so from the directory algo.
OBS: Make shure these directorys are unreadable to others i.e. that they have permissions set to drwx------. Otherwise your assignement may be copied and then you may be accused of cheating since it's not possible for us to determine who is copying and who is copied from.
x.lab1/
to submit lab 1:
README
,
program.java
(choose a better name of course, Main.java is often prefered)
All files needed to compile and run your assignment + the README file must be in .../x.lab1
but No unneccesary files! (like .class files or editor backup files like tilde files from emacs. Do a "ls" command to make sure.)
When you are ready to submit you must often pack your files with zip. Your files are then "packed" into one file that is suitable for transmission over internet. The advantage of packing is biggest when you submit many files at the same time. For this reason packing is sometimes not used when you only submit 1-2 files, see labPM for information on that. Go to the directory where you keep the x.lab1 files and execute the command
zip -r x.lab1.zip x.lab1
First argument are flags to the command, second argument is the resulting file name and last argument is the folder where your assignment files are.
For instance, if you are group 5 and you are submitting lab 1 then the command should look like
zip -r 5.lab1.zip 5.lab1
The result of this comand should be a file named "5.lab1.zip" which you submit according to the Submission Instructions.
Now you are ready to log on to the lab report system and submit the lab (i.e. the zip file).
Note: All this assumes that you are working on a Chalmers computer (or another Unix system). For windows computers there is a program, 7-zip, that can be user to make zip files.
ssh -l loginaccount remote[1-5].studat.chalmers.se
with an appropriate value for loginaccount and one of 1-5, i.e. I would do
ssh -l erland remote4.studat.chalmers.se