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: M 3-5pm


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

Our Graders (You submit your homework to the grader based on your lastname):
Midterm exam is on March 26th and includes Lectures from 1 to 7 (and their associated reading material of course).
Final exam is on May 21st,  7:10-9pm, WWH 109.

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. 


Note: Some of the lectures below may span more than one physical lecture.

Lecture                                                      reading                 

Introduction                                                2.1 -> 2.4

Processes/ Threads I                                                  3.1->3.5

Processes/Threads II and Mutual Exclusion                4.1 -> 4.3 and 5.1 (skim 5.2 -> 5.4)

Deadlocks                                                                 6.1 -> 6.4

Memory Management I                                              7.1, 7.2

Memory Management II                                             8.1 (skim segmentation), 8.2

File Systems I                                                              12.1, 12.4, and 12.5

File Systems II

I/O                                                                               11.1 -> 11.4

Advanced Topics


Linker  (Due Feb 12th)
inp1 - out1
inp2 - out2
inp3 - out3
erroneous input - error list
Files used to test your submissions

Scheduler (Due Mar 5th)
inp1 - out1_fcfs - out1_rr - out1_srjf
Files used to test your submissions

Page replacement (Due April 16th)
mem=5 pages:  inp1 out1
mem=3 pages:  inp2  out2_fifo out2_second out2_lru
mem=3 pages:  inp3  out3_fifo out3_second out3_lru
Files used to test your submissions

Homework Assignments

Hw1 (Due Feb 19th) - Solutions

Hw2 (Due Mar 12th)   Solutions

Hw3 (Due Apr 23rd)   Solutions

Hw4 (Due May 7th)    Solutions

Practice Problems

Midterm exam of Fall 2011

Solution of Midterm Spring 2013

Final of Fall 2011

Practice Problems

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.

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

OS creation wiki

Process scheduling analyzer and visualizer