CSE 120: Principles of Computer Operating Systems


You can bring one letter sized sheet of notes in your handwriting to the final.

Sample questions for the final. Sample answers

Solution to midterm here (pdf format).

Sample questions and answers for the midterm.

Everyone should have an account for the bulletin board. Your username should be cs120sxx or your OCE login, and your password is your SID in the form of A12345678.


Course objectives

The aim of the course is to expose you to the principles of operating systems. The major topics are: processes, memory management, file systems, and I/O.

Course staff

Name & Email Office location Office hours
S H Srinivasan APM 5337 Wed 1:00 - 2:00
Allen Chu APM 3349 Fri 1:00-3:00
Qiao Xin APM 3349A Tue 2:45-3:45
Kyong Kim APM 2331 Mon 11:00-12:00
Thu 2:30-3:30

References

Modern Operating Systems by Andrew S Tanenbaum.

Course schedule

Lectures: 3:55-5:15 Tuesdays & Thursdays, Solis 104

Discussion section: 12:20-1:10 Fridays, CSB 001

There will be four programming assignments. The assignments should be done in groups of three. The schedule is given below.

Number Announcement date Due date
1 Apr 06 Apr 21
2 Apr 20 May 05
3 May 04 May 19
4 May 18 Jun 02
The midterm will be on May 11.

The assignments get a weight of 12.5% each, the midterm 20%, and the final 30%.

Assignments

First assignment

Second assignment

Third assignment

Fourth assignment

Lecture notes

Apr 04     Motivation and introduction
Notes (pdf)
Chapter 1
Apr 06     Processor Architecture
Notes (pdf)
  
Apr 11     Processes
   Section 2.1
Section 7.3.1
Apr 13     Interprocess Communication
   Section 2.2
Apr 18     Interprocess Communication
   Section 2.2
Apr 20     Concurrency issues
Notes   
Apr 25     IPC
   Section 2.2
Apr 27     Memory management
Notes Sections 3.1, 3.2
May 02     Kernel memory allocation
   Section 3.2
May 04     Virtual memory
   Section 3.3
May 09     Virtual memory
   Section 3.3
May 11     Midterm
Answers (pdf)   
May 15     File systems
   Sections 4.1, 4.2
May 18     File systems
   Section 4.3
May 23     Virtual memory
   Section 3.4
May 25     Virtual memory
   Sections 3.5-3.6
May 30     Segmentation
                 Deadlock
   Section 3.7
Sections 6.1-6.3
Jun 01     Deadlock
                Scheduling
   Sections 6.4-6.8
Section 2.4
Jun 06     Scheduling
                Protection
   Section 2.4
Section 4.5
Jun 08     Security
   Section 4.4

Bulletin board

You can use the class bulletin board to ask questions about lectures, projects, and look for partners.