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 flash memory and virtual machines.General Information
Lectures
MWF 11:30-12:20, Gates B01 (PollEverywhere)
Sections
TBD
Office Hours
Midterm Exam
Thursday, May 11, 7:30-9:00pm (320-105)
Final Exam
Wednesday, June 14, 8:30-11:30am (STLC 111)
Upcoming Lectures
Upcoming Assignments
Course Staff

Ayelet Drazen
Course Assistant
adrazen@stanford

Isaac Gorelik
Course Assistant
gorelik@stanford

Michelina Hanlon
Course Assistant
michcat@stanford

Sumer Kohli
Course Assistant
sumerk@stanford

Michela Marchini
Course Assistant
marchini@stanford

Swayam Parida
Course Assistant
swayamp@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
Assignment feedback surveyYour personal gradebook
Tips for debugging with gdb
Useful C++ classes
Honor Code policy for this class
Old Exams:
2022 Final: exam, solution2022 Midterm: exam, solution
2021 Midterm #2: exam, solution
2021 Midterm #1: exam, solution
2018 Final (from CS 140): exam, solution