CSE 120: Principles of Computer Operating Systems

Fall 2004

Geoff Voelker (voelker@cs.ucsd.edu)
AP&M 5131
(858) 822-3323
Teaching Assistants
Charles Lucas (Projects) (cplucas@cs.ucsd.edu)
Nan Zang (Homeworks, Discussion) (nzang@cs.ucsd.edu)
Tu/Th 12:30pm - 1:50pm @ CENTR 214
Discussion Sections
Fr 11:00am - 11:50am @ HSS 1330
Office Hours
Voelker: Mon 3-4pm, Thu 4-5pm (AP&M 5131)
Lucas: Tue, Wed, Thu 2-3pm (AP&M B402)
Zang: Fri 3-5pm (EBU1 6307B)
AP&M B402 (uAPE)
EBU1 3327, 3329, 5702 (overflow)
Silberschatz, Operating System Concepts, Wiley, 6th Edition (Windows XP Update)
ISBN 0-471-25060-0
Class Mailing List

Course Objectives

This course covers the principles of operating systems. It emphasizes the basic concepts of OS kernel organization and structure, processes and threads, concurrency and synchronization, memory management, file systems, and communication. It is also a project course, providing essential experience in programming with concurrency, implementing and unmasking abstractions, working within an existing complex system, and collaborating with other students in a group effort.

Course Organization

The course is organized as a series of lectures by the instructor, discussion sections by the TAs, reading, homework, and project assignments, and exams:


Homeworks are due at the beginning of class on the day specified. We will reduce homework grades by 20% for each day that they are late (end of class is considered late). You must hand in a hardcopy of your homework; disagreements about the contents of emailed homeworks have caused too much grief in the past.

I encourage you to collaborate on the homeworks: You can learn a lot from your fellow students. However, there can be a fine line between collaboration and cheating. Collaboration consists of discussing problems with other students and independently writing your own answers to the problems based upon those discussions; as a rule of thumb, you should be able to discuss a homework problem in the library with others, go home, and then write up your answer to the problem on your own. Cheating consists of looking at other student's homeworks and copying the answers, looking at past homeworks and/or solutions from previous versions of the class, searching on the Web, etc. The consequences of cheating will correspond to the severity (e.g., failure of the assignment, failure of the course). Cheating causes many problems for all of us -- don't do it, and save us all the grief.

The academic honesty guidelines outlined by Charles Elkan for CSE 130 apply to this course.


The course has one tutorial project and three programming projects using the Nachos instructional operating system. You will work in groups of at most four on each of the projects.


The course has two exams, a midterm and a final. The midterm will cover the first half of the class, and the final will cover the material for the entire quarter. Below are sample exams to help you study.


Your grade for the course will be based on your performance on the homeworks, midterm and final exams, and the three projects using the following weights:

Course Schedule

The following table outlines the schedule for the course. I will update it as the quarter progresses.

Date Lecture Readings Homework Project
9/23 Course Intro, OS Modules Chapter 1, Appendix C (Nachos)    
9/28 OS Architectural Support Chapters 2, 3 Homework 1: Out  
9/30 Processes Chapter 4   Project 0: Out
10/5 Threads Chapter 5 Homework 1: Due Project 0: Due
10/7 Synchronization Chapter 7.1-7.6   Project 1: Out
10/12 Semaphores and Monitors Chapter 7.7-7.10 Homework 2: Out  
10/14 Semaphores and Monitors
Project 1
Chapter 7.7-7.10    
10/19 (No class)      
10/21 Scheduling and Deadlock Chapters 6, 8   Project 1: Due
10/26 Review   Homework 2: Due  
10/28 Midterm Exam      
11/2 Memory Management Chapter 9   Project 2: Out
11/4 Paging Chapter 10 Homework 3: Out  
11/9 Page Replacement Chapter 10    
11/11 Veteran's Day Holiday      
11/16 File Systems Chapters 11, 12, 18 Homework 3: Due  
11/18 FFS, LFS, and RAID Chapter 12.8, 14.5    
11/22 (Monday)     Project 2: Due
11/23 RPC, NFS Chapter 12.9 Homework 4: Out Project 3: Out
11/25 Thanksgiving Holiday Butterball    
11/30 Internet Epidemiology      
12/2 Course Summary, Final Review   Homework 4: Due  
12/6 (Monday)     Project 3: Due
12/9 Final Exam (11:30am-2:30pm)      

Supplemental Reading

The supplemental readings include primary sources and in-depth supplements for concepts in the class. Supplemental reading is for your own interest -- the readings are not required, nor will you be tested on the material. Note that some of the links to the documents point to the ACM Digital Library. UCSD has a subscription to the ACM Digital Library, so you will need to use a web browser on campus to access them.