CS 111: Operating Systems Principles
Course Description
This class introduces the basic facilities provided by modern operating systems. The course divides into three major sections. The first part of the course discusses concurrency: how to manage multiple tasks that execute at the same time and share resources. Topics in this section include processes and threads, context switching, synchronization, scheduling, and deadlock. The second part of the course addresses the problem of memory management; it will cover topics such as linking, dynamic memory allocation, dynamic address translation, virtual memory, and demand paging. The third major part of the course concerns file systems, including topics such as storage devices, disk management and scheduling, directories, protection, and crash recovery. After these three major topics, the class will conclude with a few smaller topics such as virtual machines.General Information
Lectures
MWF 11:00-11:50, Dinkelspiel Auditorium
Sections
TBD
Office Hours
Discussions
Ed Discussions (signup here)
Midterm Exam
Thursday, May 5, 7:30-9:00pm (Hewlett 200)
Final Exam
Saturday, June 4, 8:30-11:30am
(420-040 and 420-041)
(420-040 and 420-041)
Upcoming Lectures
Upcoming Projects
Course Staff

Jerry Cain
Instructor
jerry@cs

Maddy Bernstein
Course Assistant
mbern@stanford

Sophie Decoppet
Course Assistant
sophied@stanford

Ayelet Drazen
Course Assistant
adrazen@stanford

Ben Heller
Course Assistant
bheller2@stanford

Canwen Jiao
Course Assistant
canwen@stanford

Victor Lin
Course Assistant
vsl4040@stanford

Jack Nichols
Course Assistant
nichoj10@stanford

Swayam Parida
Course Assistant
swayamp@stanford

Ailyn Tong
Course Assistant
vatong@stanford
Add ".stanford.edu" or ".edu" to all e-mail addresses above. For most issues, the best way to contact staff is to post a question on Ed Discussions rather than emailing a particular person.
Useful Links
What's the relationship between CS 110 and CS 111?2021 first midterm exam
Solutions to 2021 first midterm
2021 second midterm exam
Solutions to 2021 second midterm
2012 final exam from CS 140 (includes questions on Pintos that are not relevant)
Solutions to 2012 final