Exercise submission:
You must register to the course to be able to submit the exercises.
All assignments are personal.
You are required to submit all the exercises.
The relative weight of the exercises (and the examinations)
will be set at the end of the course.
You may submit a programming exercise up to 3 days after the
submission date.
However, you will lose 4 if you are late by 1 day, 8 points if you
are late by 2 days, and 16 points if you are late for 3 days (not counting
Saturdays).
Students with personal problems (miluim, illness, etc.) that
wish to get extension should ask for it before the submission
deadline. Extensions will not be given "postmortem". A student must get
a written permission (i.e. an email) for late submission from plab@cs.
Verbal approval is not enough!
For each exercise you should submit a single .tgz file.
tgz is the suffix for gzipped tar files.
(tar is a utility that puts many files together in one file, and
gzip is a compression utility).
The interface of tar is quite like the interface of jar:
To create a tgz file run: tar -cvzf TARFILENAME.tgz
file1 file2 file3 ...
To extract files from a tgz file run: tar
-xvzf TARFILENAME.tgz
Note that you can have wildcards in file1, file2, etc - this will
insert all matching files to the tar. See man tar for further explanation.
Before submitting a tgz file, try extracting it in an empty directory
to make sure it contains all you meant it to contain.
The style guidelines are here.
Exercise descriptions:
A note on compiling with g++
Ex0 - Word counter
Ex1 - Dictionary
Ex2 - 1st order Markov text generation
Ex3 - Board-games: Checkers
Ex4 - Graph Calculator
Ex5 - Graph Calculator continued