Project Guideline (read until the end)

Grading

For 1st Project
indentation:20 points
meaningful variable naming: 20 points
comments: 20 points
correct execution of the program: 40 points
For 2nd, 3rd, etc. Projects:
indentation: 10 points
meaningful variable naming: 10 points
comments: 10 points
correct execution of the program: 70 points

Grading Details

Indentation
The inner portion of if and while blocks must be indented. check example codes at the bottom.
For more information about indentation: http://en.wikipedia.org/wiki/Indent_style you can use K&R style, Variant: 1TBS, Allman style etc.
Meaningful variable naming
i.e:
float result;
char operator;
are good,
float res;
char op;
are acceptable (but not recommended),
float x;
char c;
don't dare!!
Comments
Important algorithmic parts must be commented.
You must write a heading comment describing you and the program
In addition, you must write doxygen compatible comments for projects. Meaning that every function must have a comment on it starting with /** ending with */ having a brief description,
@param statements for every parameter and
@return statement for the return values
**see example codes at the bottom** Writing these comments improves readibility of the code and enables to use a document generation software (e.g. doxygen) for automatically generating documentation of the code.
If you want to learn further:
information about comments
information about documentation comments
information about doxygen and doxygen comments
doxygen website
Correct execution of the program
Check sample runs in the project definition
Late submission
20 points decrease for each day. Also note that deadline is sharp thus 1 minute after the deadline means late submission. Please submit your project before last day. Submissions later than 2 days (48 hours) will not be accepted.
Cheating
Projects must be done on your own unless otherwise specified. Please read carefully:
http://www.cmpe.boun.edu.tr/courses/cmpe150/common/course_policy.html.
PROJECTS ARE MANDATORY FOR ALL STUDENTS!!! PROJECTS MUST BE DONE ON YOUR OWN!!!

Please note that for exams, indentation, meaningful variable naming and comments will not be graded (your program is just supposed to work properly). However although there is no time to write comments during exams, indentation and meaningful variable naming will be very helpful to you while programming.

Hints About Coding

SUBMISSION

Submit your projects via online compiler, e-mail submissions will be disregarded.
For submitting your project via online compiler:

EXAMPLE CODES

An example code for first project:

(Please note that this code is too simple to be a project code. It is here as a reference)
If you use doxygen for comment generation (you are not required for this course, you may require it further in your life),
here is the automatically generated documentation by doxygen for above project (is put here for a reference)

An example code for 2nd, 3rd etc. projects:

(Please note that this project was given with most of it previously written by instructor at summer2009 term. Your projects need not be that long. You are not supposed to understand what this project is doing. Just check doc-comments (/** */) to see how they should be written)
("how to use" comment is not mandatory, but very helpful)
If you use doxygen for comment generation (you are not required for this course, you may require it further in your life),
here is the automatically generated documentation by doxygen for above project (is put here as a reference)