Operating Systems
Course: Operating Systems (320202)
Instructor: Jürgen Schönwälder
TAs: Josip Dzolonga, Mihaela Rusu, Vladimir Zamdzhiev
Monday 08:15 - 09:30 West Hall 4
Wednesday 09:45 - 11:00 West Hall 4
Start: February 2nd 2011

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
2011-02-02 Introduction
2011-02-07 2011-02-09 Hardware, System Calls
2011-02-14 2011-02-16 Processes, Threads
2011-02-21 2011-02-23 Synchronization (Mutual Exclusion, Semaphores)
2011-02-28 2011-03-02 Synchronization (Condition Variables, Monitors)
2011-03-07 2011-03-09 Deadlocks, Scheduling
2011-03-14 2011-03-16 Memory Management (Segmentation)
2011-03-21 2011-03-23 Virtual Memory (Paging, Working Sets)
2011-03-28 2011-03-30 Embedded Operating Systems
2011-04-04 2011-04-06 Inter-Process Communication (Signals, Pipes)
2011-04-11 2011-04-13 Inter-Process Communication (Sockets)
2011-04-18 2011-04-20 Spring Break
2011-04-25 2011-04-27 File Systems
2011-05-02 2011-05-04 File Systems
2011-05-09 2011-05-11 Block and Character Devices
2011-05-16 Virtualization and Virtual Machines

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 loose your points.

Note 3: Any cheating cases will be reported to the registrar. In addition, you will loose 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.

2011-02-14Assignment #1System Calls
2011-02-28Assignment #2Spinlocks and Semaphores
2011-03-14Assignment #3Mutexes and Condition Variables
2011-03-28Assignment #4Memory Management
2011-04-11Assignment #5Paging and Pipes
2011-05-12Assignment #6Sockets and Pipes
2011-02-21Quiz #1Process creation and program execution
2011-03-07Quiz #2Synchronization and Semaphores
2011-03-21Quiz #3Deadlocks and Scheduling
2011-04-04Quiz #4Memory Management
2011-05-02Quiz #5Signals and Pipes
2011-05-16Quiz #6File Systems and Devices
  • Final Exam (2011-05-20 at 09:00)
    Conrad Naber Lecture Hall