Syllabus academic year 2007/2008

Higher education credits: 3. Grading scale: UG. Level: G1 (First level). Language of instruction: The course will be given in Swedish. Optional for: C4, D3, E3, F2, M3, N2, Pi3. Course coordinator: Jonas Skeppstedt,, Inst f datavetenskap. Prerequisites: An introductory programming course. The number of participants is limited to 100 Selection criteria: Credits awarded or credited within the study program. Assessment: Written examination. The compulsory programming assignments must have been completed before the exam. Home page:

The purpose of the course is that the student shall how to write program in the C programming language.

Knowledge and understanding
For a passing grade the student must

Skills and abilities
For a passing grade the student must

Judgement and approach
For a passing grade the student must

The course is web based and is given twice a year. The students solve the compulsory assignments on their own and submit their solutions via e-mail.

An overview of ISO C (C99). Basic C programming: types, program structures, functions. The preprocessor. Pointers. Memory handling: static allocation, stack allocation, heap allocation. The standard library. Portability, differences between ANSI C and C99. Program development tools: gcc, make, gdb, and Valgrind.

Recommended: Steele, G & Harbison, S: C: A Reference Manual, 5th Edition. Prentice Hall 2002. ISBN 0-13-122560X.