Programming and Data Structures in C - IFE sem. II
Grading policy
The lecture and the laboratory are compulsory. In both cases you are allowed to be absent without any justification two times during the whole semester.
The laboratory and the
examination are graded on a scale from 0 to 100%.
It is necessary to obtain a minimum of 55% from both in order to pass a class.
The final grade is determined on the basis of the weighted average of grades from
the laboratory (40%) and the examination (60%). The following table is a mapping between
the weighted average and the final grade.
- <0.55-0.65) - 3
- <0.65-0.75) - 3.5
- <0.75-0.85) - 4
- <0.85-0.95) - 4.5
- <0.95-1.0> - 5
Laboratory grading policy
Every program has a deadline set and is graded on a scale from 0 to 100%. Detailed grading policy is as follows:
- 100% - correct program, deadline met
- 90% - correct program, deadline met, teacher requested improvements because general rules were not fulfilled
- 80% - correct program, deadline not met, one week delay
- 70% - correct program, deadline not met, one week delay, teacher requested improvements because general rules were not fulfilled
- 60% - correct program, deadline not met, two or three weeks delay
- 50% - correct program, deadline not met, two or three weeks delay, teacher requested improvements because general rules were not fulfilled
- 40% - correct program, deadline not met, over three weeks delay
- max 30% - correct program, deadline not met, over three weeks delay, teacher requested improvements because general rules were not fulfilled (-10% per each teacher request iteration)
- 0% - plagiarism (the student is not able to explain every single line of code)
Programs are graded at the beginning of the laboratory when the deadline comes.
Programs are not graded during consulting hours, excluding the last week of the semester.
Programs are not graded during the exam session.
There are two tests during the semester:
Test I is written on the paper. The test can not be retaken. Student cannot use any resources during the test.
Test II is written using a computer with the Internet cut off. The test can be retaken once. In such case the new grade overwrites the old one, even if it is worse. Student is allowed to use the following resources during the test:
- any original books (not a printout nor a xerocopy),
- printouts of lecture slides, no other printouts are allowed,
- slides and sample programs from lectures, which are availabe on this web page,
- the computer provided by the department.
Programs and tests have different weights specified below (all weights sum to 40%):
- 2% - Rotating polygon
- 4% - Tower of Hanoi
- 7% - Tetris
- 4% - Text processing
- 4% - strtol function
- 6% - Banking system
- 2% - bsearch function
- 1% - Test I
- 10% - Test II
Examination
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:
- any original books (not a printout nor a xerocopy),
- printouts of lecture slides, no other printouts are allowed,
- slides and sample programs from lectures, which are availabe on this web page,
- your own handwritten notes in non-black ink,
- the computer provided by the department.
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 use 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.
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 fulfil 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 55% from the laboratory may take
another attempt at exam during the next examination session. If they fail or they do not attempt
this resit, they have to repeat the laboratory (and obtain at least 55%)
to be allowed to take part in the exam.
Lecture resources
Laboratory resources
Additional resources
Recommended reading
- 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
Updated: 24.02.2023