Operating Systems
Course: Operating Systems (320202)
Instructor: Jürgen Schönwälder
TAs: Anuj Sehgal, Alexandru Octavian Tandrau, Vladislav Perelman
Monday 08:15 - 09:30 Lecture Hall, Research II
Wednesday 09:45 - 11:00 Lecture Hall, Research II
Start: February 1st 2010

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
2010-02-01 2010-02-03 Introduction, System Calls
2010-02-08 2010-02-10 Processes, Threads
2010-02-15 2010-02-17 Synchronization (Mutual Exclusion, Semaphores)
2010-02-21 2010-02-24 Synchronization (Condition Variables, Monitors)
2010-03-01 2010-03-03 Deadlocks, Scheduling
2010-03-08 2010-03-10 Memory Management (Segmentation)
2010-03-15 2010-03-17 Virtual Memory (Paging, Working Sets)
2010-03-22 2010-03-24 Inter-Process Communication (Signals)
2010-03-29 2010-03-31 Spring Break
2010-04-05 2010-04-07 Spring Break, Inter-Process Communication (Pipes)
2010-04-12 2010-04-14 Inter-Process Communication (Sockets)
2010-04-19 2010-04-21 File Systems
2010-04-26 2010-04-28 Block and Character Devices
2010-05-03 2010-05-05 Virtualization and Virtual Machines
2010-05-10 2010-05-12 Embedded Operating Systems

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

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.

2010-02-07 Assignment #1 System Calls
2010-02-21 Assignment #2 Threads and Semaphores
2010-03-07 Assignment #3 Thread Pools
2010-03-21 Assignment #4 Positioning and Replacement Strategies
2010-04-18 Assignment #5 FTP server (control connections)
2010-05-02 Assignment #6 FTP server (data connections)
2010-02-10 Quiz #1 Processes and Threads
2010-02-24 Quiz #2 Concurrency and Synchronization
2010-03-10 Quiz #3 Deadlocks and Scheduling
2010-03-24 Quiz #4 Memory Management and Virtual Memory
2010-04-14 Quiz #5 Signals and Pipes
2010-04-28 Quiz #6 Sockets and File Systems
2010-05-12 Quiz #7 Devices and Virtualization
  • Final Exam (2010-05-26 at 09:00)
    Conrad Naber Lecture Hall