Syllabus academic year 2009/2010
(Created 2009-08-11.)
C PROGRAMMINGEDA150

Higher education credits: 3. Grading scale: UG. Level: G1 (First level). Language of instruction: The course will be given in Swedish. Optional for: C4, D4, E2, F2, M4, N2, Pi4. Course coordinator: Jonas Skeppstedt, Jonas.Skeppstedt@cs.lth.se, 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: Three compulsory assigments , which must be performed individually. Written exam. The final grade of the course is based on the result of the exam. Home page: http://www.cs.lth.se/EDA150.

Aim
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

Contents
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.

Literature
Jonas Skeppstedt and Christian Söderberg: Writing Secure and Efficient C Code
a Thorough Introduction for Java Programmers. Can be bought at the department.