Operating Systems and C
The course focuses on system programming concepts (I / O, network programming and concurrent programming), and their implementation in C. The course deals with how hardware, operating system and the compilation process of programs are related. During the course, students will design and implement a simple Linux kernel module in C.
System programming is essential in order to build software systems with high performance, hardware-protected security or low energy consumption, e.g., cloud-based big data systems or embedded systems.
In this course, all students get a deeper understanding of the hardware and operating system software that their programs are running on. Students who have the ambition to contribute to the Linux kernel, become software developer at a cloud service provider, or design low-level security solutions get a strong foundation that they can develop further later on.
The course covers:
- C programming language
- Computer organization
- Operating system principles
The course covers the three fundamental computer system abstractions (interpreter, memory and communication) and the corresponding operating system concepts (processes, virtual memory and files). There is a particular focus on data representation, memory management, buffer overflow, cache management, dynamic memory allocation, exceptional control flow, file system and synchronization. Assembly is used to introduce coherence between hardware architecture and C concepts such as pointers or stack-based function calls.
Formal prerequisitesExperience with a programming language is necessary.
Intended learning outcomes
After the course, the student should be able to:
- Read, write and debug C programs in a shell-environment
- Interpret how C programs execute on a computer system
- Describe basic system programming concepts in C (I/Os, network programming, concurrent programming)
- Reflect on the impact of hardware, operating system and compilation process on application programs
- Design and implement a simple Linux kernel module in C
Ordinary examExam type:
C: Submission of written work, External (7-point scale)
C11: Submission of written work