Operating Systems
Course: Operating Systems (320202)
Instructor: Jürgen Schönwälder
TAs: Jan Brenstein, Ivaylo Enchev, Johannes Schauer
Monday 08:15 - 09:30 CS Lecture Hall
Wednesday 09:45 - 11:00 CS Lecture Hall
Start: February 4th 2013

This course provides an introduction to the concepts underlying operating systems. Students will develop an understanding how operating systems realize a virtual machine that can be used to execute multiple concurrent application programs. The course discusses resource allocation algorithms and how concurrency problems can be solved.

Topics: Operating system architectures, system calls and interrupts, concurrent processes and threads, scheduling, synchronization, deadlocks, virtual memory, file systems, inter-process communication, socket programming interface.

Course Materials:
  • A. Silberschatz, P.B. Galvin, B. Peter, G. Gagne, "Applied Operating System Concepts" John Wiley, 2000
  • A.S. Tanenbaum, "Modern Operating Systems", Prentice Hall, 2008
  • A.S. Tanenbaum, "Modern Operating Systems", Prentice Hall, 2001
  • W. Stallings, "Operating Systems: Internals and Design Principles", Prentice Hall, 2005
  • R. Love, "Linux Kernel Development", Sams Publishing, 2003
2013-02-04 2013-02-06 Introduction, Hardware, System Calls
2013-02-11 2013-02-13 Processes, Threads
2013-02-18 2013-02-20 Synchronization (Mutual Exclusion, Semaphores)
2013-02-25 2013-02-27 Synchronization (Condition Variables, Monitors)
2013-03-04 2013-03-06 Deadlocks, Scheduling
2013-03-11 2013-03-13 Memory Management (Segmentation)
2013-03-18 2013-03-20 Virtual Memory (Paging, Working Sets)
2013-03-25 2013-03-27 Spring Break
2013-04-01 2013-04-03 Inter-Process Communication (Signals)
2013-04-08 2013-04-10 Inter-Process Communication (Pipes)
2013-04-15 2013-04-17 Inter-Process Communication (Sockets)
2013-04-22 2013-04-24 Inter-Process Communication (Sockets)
2013-04-29 2013-05-01 File Systems
2013-05-06 2013-05-08 Block and Character Devices
2013-05-13 2013-05-15 Virtualization and Virtual Machines
2013-02-11Quiz q1System Calls and Processes
2013-02-19Assignment p1Processes
2013-02-25Quiz q2Threads and Semaphores
2013-03-04Assignment p2Threads
2013-03-11Quiz q3Deadlocks
2013-04-10Assignment p3Paging and Virtual Memory
2013-04-08Quiz q4Signals
2013-04-25Assignment p4I/O Redirection
2013-04-22Quiz q5Sockets
2013-05-10Assignment p5Sockets and I/O multiplexing
2013-05-06Quiz q6Filesystems
2013-05-19Assignment p6TBD
2013-05-22Final Exam16:00 Lecture Hall Research III (closed book)


The final grade is made up of homeworks/assignments (30%), bi-weekly quizzes (30%), and the final exam (40%). The homeworks and projects must be submitted individually. It is required to submit the solution for programming assignments electronically. Late submissions will not be accepted. Homeworks and project work may have to be defended in an oral interview.

Note 1: Students must submit solutions individually.

Note 2: If you copy material verbatim from the Internet (or other sources), you have to provide a proper reference. If we find your solution text on the Internet without a proper reference, you risk to lose your points.

Note 3: Any cheating cases will be reported to the registrar. In addition, you will lose the points (of course).

Note 4: If you are unhappy with the grading, please report immediately (within one week) to the TAs. If you can't resolve things, contact the instructor. Problem reports which come late, that is after the one week period, are not considered anymore.

Electronic submission is the preferred way to hand in homework solutions. Please submit documents (plain ASCII text or PDF, no Word) and your source code (tar, zip) via the online grader system. If you have problems, please contact one of the TAs.

Any programs which have to be written will be evaluated based on the following criteria:

  • correctness including proper handling of error conditions
  • proper use of programming language constructs
  • clarity of the program organization and design
  • readability of the source code and any output produced

For any questions stated on assignment sheets, quiz sheets, exam sheets or during makeups, we by default expect a reasoning for the answer given, unless explicitely stated otherwise.

The policy on makeup quizzes and exams is the following: To be able to get a makeup, you have to either (a) have an official excuse from the registrar's office or (b) approach me well in advance of the quiz/exam with a very good reason for not being able to participate (e.g., because you take a GRE computer science subject test at the day of a quiz). Furthermore, I require that people take action to immediately contact me when they return to campus so that we can fix a date for the makeup. Once a week has passed, I do not feel obliged to offer a makeup anymore.