There will be three exercises. Assignments are the same as last year:
Detailed descriptions of these exercises can be found following the links.
The first exercise is mandatory and consists of 2 tasks.
The second and third exercises are non-mandatory, but give points. The second exercise gets between 0 and 7 points. The third exercise gets between 0 and 10 points.
The exercises must be completely original and made by the student. Copying work from other programs (eg. previous year exercises) is strictly forbidden and sanctionable. It is, however, allowed for a student to submit his own program again if he had submitted one in previous years but did not pass the course then. However, if this is done, then the submission must clearly state so (including the year when it was last submitted).
Deadlines for the exercises:
The exercises must be submitted by 15:59 (3:59 p.m.) on the submission day. You can perform as many submissions as you want (eg. to fix bugs).
In the first and third exercises, you will get feedback from the course assistant. Any errors in the program will be pointed out. You will then have about a week to correct any mistakes. If the first exercise still fails to fulfill the requirements, you will fail the course.
Since deadlines are hard to keep, there is an exception for the first exercise (algorithms): If you are less than a week late from the deadline but submit an assignment without any (serious) errors, it will also be accepted (but you will not get feedback). Try not to count on this, since one mistake could easily cost you the whole course here.
The second exercise will not get feedback.
For any questions you should write to the tut.ot.tgraf
newsgroup or the lecturer (timo.kellomaki@tut.fi).
The programming exercises have the following requirements:
The exercises are submitted by email to tgraf@cs.tut.fi. Note: Due to spam problems, please submit from a .fi address. If you submit from some other address, there's a possibility that the spam filter will discard it.
For simplicity, the submitted program must be entirely written in one single C++ source file. (This shouldn't be too problematic because the programs are rather short. Being all in one file will, of course, not be penalized in any way.)
At the beginning of the program, before anything else, there must be a submission header which looks like this:
/*** OHJ-2700 exercise 1 (projection) Name: Your Name Number: 100000 Email: your@email.address ***/
Please make sure that the information is accurate.
The number in the first line must be 1 or 3 depending on the exercise.
In the first case also the task name should be written in parentheses.
This can be "(projection)" or "(bezier)".
The subject of the email must be one of these:
tgraf exercise 1 projection tgraf exercise 1 bezier tgraf exercise 3
The source code of the program must be emailed in raw text format. It must not be an attachment, and you should make sure that your email program doesn't mime-encode the text. If you are unable to make your email program to send the submission in raw format, you can do it from a Lintula unix computer with the following command:
mailx -s "tgraf exercise 1 projection" tgraf@cs.tut.fi < yourprogram.cc
The submission will be parsed by a script which will send a reply (please make sure that your email address is correct and valid; also make sure that the .cc file above has the proper submission header).
The subject of the email must be:
tgraf exercise 2
The email should contain the URL to the "making of" page you have made. Nothing else is needed in this email.
Note: There's no automatic script which handles this submission, and thus you will not get a reply.