Operating Systems
Prof. Mohamed Zahran   (aka Prof. Z)
mzahran AT cs DOT nyu DOT edu
Tuesdays 7:10-9:00 pm  Location: WWH 109
Office Hours: Tuesdays 5-7pm (WWH 328)


Welcome students! ... to the operating systems course, edition Fall 2011.  I will keep updating this page regularly. If you have questions related to that course feel free to email me at . Here is some basic information:

Our TAs/Graders

Our final exam is scheduled  on Dec 20th at the regular class time and in the same place.

Mailing List

Sign up for the Mailman mailing list for the course. You can do so by clicking here. Please follow the mailing list etiquette. 


Lecture                                                      reading                 

Introduction                                 chp1: All (but skim 1.2, 1.3, 1.6, and 1.8)

Processes and Threads I                  chp2: till end of 2.2 (but skim 2.2.7, 2.2.8, and 2.2.9)

Processes and Threads II                 chp2: 2.3 and 2.4 (skim 2.3.6, 2.3.7, and 2.6)

Deadlocks                                       chp 6: All (skim 6.7)

Memory Management I                    chap 3: till 3.3

Memory Management II                   3.4 and 3.5

Memory Management III                  Rest of chp 3 (skim 3.6.6)

File Systems I                                   chp 4 till end of 4.2

File Systems II                                  4.3 and 4.4 (skim 4.5)

I/O  Part 1                                        5.1 and 5.2

I/O Part II                                         5.3, 5.5, and most of 5.6 (check last slide)

Advanced Topics

Revision (solutions)


Linker  (Due Sep 27)
inp1 - out1
inp2 - out2
inp3 - out3
erroneous input - error list
Tests used for grading

Scheduler (Due Nov 8)
inp1 - out1_fcfs - out1_rr - out1_srjf
Tests used for grading

Page replacement policy (Due Dec 6th)
(5 pages memory) in1 - in1.fifo (all replacements produce same output in this example)
(3 pages memory) in2 - in2.fifo in2.second  in2.lru
(3 pages memory) in3 - in3.fifo in3.second  in3.lru


Hw1  (Due Sep 20)   Solutions    Remarks from graders

Hw2  (Due Oct 25)    Solutions   Remarks from graders

Hw3 (Due Nov 29)    Solutions

Practice Problems

Batch-1     solutions

Solutions of midterm 1

Interesting Links (Geeky stuff about Operating Systems)

If you have an interesting link, please email it to the instructor and it will find its way to this page.

Process scheduling analyzer and visualizer (Thanks to Sujal Subhash Wattamwar)

How to build your own operating systems

How to build an operating system

Barrelfish: Research OS designed and maintained by ETH

Factored Operating System: Targeting multicore, manycore, and cloud, designed and maintained by MIT Carbon group

Tessellation: a New ManyCore OS by Berkeley

Debate between A. Tanenbaum and L. Trovalds (Thanks to  Sujal Subhash Wattamwar )

OS creation wiki (Thanks to Sushant Deepak Bhadkamkar )