Programming and Data Structures in C - IFE sem. II
The laboratory and the
examination are graded on a scale from 0 to 100%.
It is necessary to obtain a minimum of 50% from both in order to pass a class.
The final grade is determined on the basis of the weighted average of grades from
laboratory (40%) and examination (60%). The following table is a mapping between
the weighted average and the final grade.
- <0.5-0.6) - 3
- <0.6-0.7) - 3.5
- <0.7-0.8) - 4
- <0.8-0.9) - 4.5
- <0.9-1.0> - 5
Laboratory grading policy
You are allowed to be absent without any justification one time during the whole semester.
Every program has a deadline set and is graded on a scale from 0 to 100%. Detailed grading policy is as follows:
Programs are graded at the beginning of the laboratory when deadline comes.
- 100% - correct program, deadline met
- max 90% - correct program, deadline met, teacher requested improvements because general rules were not fulfilled (-10% per each teacher request iteration)
- 60% - correct program, deadline not met
- max 50% - correct program, deadline not met, teacher requested improvements because general rules were not fulfilled (-10% per each teacher request iteration)
- 0% - plagiarism (it is not allowed that student presents program and is not able to explain every single line of code)
Programs are not graded during consulting hours, excluding last week of the semester.
Programs are not graded during exam session.
Programs have different weights specified below (all weights sum to 40%):
- 3% - Rotating polygon
- 5% - Tower of Hanoi
- 9% - Tetris
- 5% - Determinant
- 5% - strtol function
- 5% - Banking system
- 3% - bsearch function
- 5% - Linked list
The examination is a practical one of an open book type. You will be asked to
write a computer program according to the specification. You are allowed to use
No xerocopies are allowed.
No electronic devices, apart from the simple watches, are allowed. Cellular
phones are to be turned off during the examination.
The network access will be limited to the intranet. During the examination
you will be using new blank examination accounts, the access to your laboratory accounts
will be disabled. Any attempt to access somebody else's account or facilitate
access to your examination account by someone else will be considered cheating.
- Any original books ( not a printout nor a xerocopy).
- Printouts of lecture slides. No other printouts are allowed.
- Your own handwritten notes in non-black ink.
- The computer provided by the department.
The examinations are graded in presence of the student. Student is required to write some test cases himself, the usage example in the examination problem is just an example and does not cover all corner cases. Programs not fulfilling the requirements (not working according to the specification, having resource management problems, buffer overruns, uninitialized variables etc.) will be graded 0%. In such a case, the student will have the opportunity to fix the errors, with some penalty in the score (approx. 10%-20% per problem detected by the grader, more if the problem is clearly visible when running valgrind), if submitted early enough (approx. two hours before the deadline). Programs must fulfill all the requirements stated in the specification in all cases (not only the ones presented in the example) and provide reasonable error handling to be considered as working according to the specification. After the acceptance of the program, the grader may ask the student a few questions regarding the program, and the answers will affect the score.
Repeating the course
Students having at least 50% from the lab by the end of September, may take
another attempt at exam during the next examination session, at the date of the first
exam on "Object-Oriented Programming in C++". If they fail or they do not attempt
this resit, they have to repeat the laboratory (and obtain at least 50%)
to be allowed to take part in the exam.
- Kernighan B.W, Ritchie D., "The C Programming language (2nd Edition)", Prentice Hall 1988
- Drozdek A., Simon D.L., "Data Structures in C", Pws Pub Co, 1995