In the lecture slides and videos section below, I will post lecture slides and pre-recorded lecture videos before 6pm on the day before the live lecture. Within 24 hours after a live lecture is over, I will add the recording of the live lectures there as well. For a high-level preview of future lectures, please see the tentative slides section below. For a detailed breakdown of each lectures, please see the detailed schedule section below.

To download all the PDF files below in one command (so you can study for exams), do the following inside a terminal in Ubuntu 16.04:

    wget -r -l 1 --user=USERID --password=PASSWORD http://merlot.usc.edu/cs402-s21/lectures.html
where USERID and PASSWORD are the user ID and password used to access protected content from our class web site. But please note that the lecture slides can change at any time without notice. Therefore, it's a good idea to re-run the above command often to synchroniza your copy with the server!

Live lectures will be held online in Zoom meetings. For serucity reasons, you must sign into your Zoom account using USC Shibboleth SSO (Single Sign-On). Please note that this is different from signing into your Zoom account using your USC e-mail address! To check if you signed in into Zoom correctly, start Zoom and click on Settings if you are on your phone. On top of the screen right next to your name, it should say LICENSED. (If you are using a browser, then you should click on Profile and look for your User Type.) If it doesn't say LICENSED (and says "Basic" instead), it means that you are signing into Zoom using your personal account. In that case, you should sign out (on your phone, click on Profile, scroll all the way down to the bottomm and click on Sign Out). Then sign in again. On the Sign In screen, don't enter your e-mail address there, but look for an SSO button instead. Click on the SSO button and enter "USC" as the company domain and it will take you to the familiar USC Shibboleth SSO screen where you need to provide your USC NetID and password (this is the same screen you get when you login to your USC e-mail account).

Access to videos are protected by an additional level of security measure. All videos here are on D2L, please enter your D2L user ID and password. Please also see hints about using the D2L video viewer. You also need to enable 3rd party cookies in your browser.

(Please note that access to lecture notes and videos is restricted.)
Week 1 Lecture 1 videos (for Jan 18&19, 2021) - course administration (PDF) Lecture 2 videos (for Jan 20&21, 2021) - introduction (Ch 1) (PDF), a simple OS (Ch 1) (PDF)
Week 2 Lecture 3 videos (PDF) (for Jan 25&26, 2021) - a simple OS (Ch 1) Lecture 4 videos (PDF) (for Jan 27&28, 2021) - a simple OS (Ch 1), thread creation, termination (Ch 2)
Week 3 Lecture 5 videos (PDF) (for Feb 1&2, 2021) - thread creation, termination (Ch 2), thread synchronization (Ch 2) Lecture 6 videos (PDF) (for Feb 3&4, 2021) - thread synchronization (Ch 2)
Week 4 Lecture 7 videos (PDF) (for Feb 8&9, 2021) - thread synchronization (Ch 2), thread safety, deviations (Ch 2) Lecture 8 videos (PDF) (for Feb 10&11, 2021) - thread safety, deviations (Ch 2)
Week 5 Lecture 9 videos (PDF) (for Feb 15&16, 2021) - context switching, I/O (Ch 3) Lecture 10 videos (PDF) (for Feb 17&18, 2021) - context switching, I/O (Ch 3), dynamic storage allocation (Ch 3)
Week 6 Lecture 11 videos (PDF) (for Feb 22&23, 2021) - dynamic storage allocation (Ch 3), static linking and loading (Ch 3) Lecture 12 videos (PDF) (for Feb 24&25, 2021) - booting (Ch 3), a simple system (Ch 4)
Week 7 Lecture 13 videos (PDF) (for Mar 1&2, 2021) - a simple system (Ch 4), thread implementation strategies (Ch 5), threads implementations (Ch 5) Lecture 14 videos (PDF) [BC: typo on slide 34 fixed in PDF but not in video] (for Mar 3&4, 2021) - threads implementations (Ch 5), interrupts (Ch 5)
Week 8 Lecture 15 videos (PDF) (for Mar 8&9, 2021) - interrupts (Ch 5), scheduler activations model (Ch 5), storage management (Ch 4), files (Ch 1) Lecture 16 videos (PDF) (for Mar 10&11, 2021) - files (Ch 1)
Week 9 Lecture 17 videos (for Mar 15&16, 2021) - files (Ch 1), the basics of file systems (Ch 6) Lecture 18 videos (PDF) (for Mar 17&18, 2021) - the basics of file systems (Ch 6), virtual memory (Ch 7)
Week 10 Lecture 19 videos (PDF) (for Mar 22&23, 2021) - virtual memory (Ch 7) (Mar 24&25, 2021) - midterm exams (no live Lecture 20)
Week 11 Lecture 21 videos (PDF) (for Mar 29&30, 2021) - virtual memory (Ch 7), OS issues (Ch 7) Lecture 22 videos (PDF) (for Mar 31&Apr 1, 2021) - OS issues (Ch 7)
Week 12 Lecture 23 videos (PDF) (for Apr 5&6, 2021) - OS issues (Ch 7) Lecture 24 videos (PDF) (for Apr 7&8, 2021) - performance improvements (Ch 6), crash resiliency (Ch 6)
Week 13 Lecture 25 videos (PDF) (for Apr 12&13, 2021) - crash resiliency (Ch 6), directories and naming (Ch 6) Lecture 26 videos (PDF) (for Apr 14&15, 2021) - RAID, flash memory, case studies (Ch 6), devices (Ch 4)
Week 14 Lecture 27 videos (PDF) (for Apr 19&20, 2021) - devices (Ch 4), virtual machines, microkernels (Ch 4) Lecture 28 videos (PDF) (for Apr 21&22, 2021) - virtual machines, microkernels (Ch 4), scheduling (Ch 5)
Week 15 Lecture 29 videos (PDF) (for Apr 26&29, 2021) - scheduling (Ch 5) Lecture 30 videos (PDF) (for Apr 28&29, 2021) - scheduling (Ch 5), shared libraries (Ch 3)

Preview:

  • Lecture 29 video will cover scheduling (Ch 5). You can get a preview by looking at slides from Spring 2020
  • (May 7, 2021) - DEN section final exam, 8am - 10am (firm)
  • (May 11, 2021) - AM section final exam, 8am - 10am (firm)
The following are tentative slides (in PDF format) for this semester.
Week # Dates Lecture Topics Assignments
1 1/18
1/19-1/21
Martin Luther King Day holiday (no live lecture)
course administration, introduction (Ch 1), a simple OS (Ch 1)
 
2 1/25-1/28 a simple OS (Ch 1), thread creation, termination (Ch 2)  
3 2/1-2/4 thread creation, termination (Ch 2), thread synchronization (Ch 2) (warmup #1 due on Friday)
4 2/8-2/11 thread safety, deviations (Ch 2), context switching, I/O (Ch 3)  
5 2/15
2/16-2/18
Presidents' Day holiday (no live lecture)
context switching, I/O (Ch 3), dynamic storage allocation (Ch 3)
 
6 2/22-2/25 static linking and loading (Ch 3), booting (Ch 3), a simple system (Ch 4) (warmup #2 due on Friday)
7 3/1-3/4 a simple system (Ch 4), thread implementation strategies (Ch 5), threads implementations (Ch 5), interrupts (Ch 5)  
8 3/8-3/11 scheduler activations model (Ch 5), interrupts (Ch 5), storage management (Ch 4), files (Ch 1)  
9 3/15-3/18 files (Ch 1), the basics of file systems (Ch 6), virtual memory (Ch 7) (kernel 1 due on Friday)
10 3/22-3/23
3/24-3/25
virtual memory (Ch 7)
Midterm Exams (no live lecture)
 
11 3/29-4/1 virtual memory (Ch 7), OS issues (Ch 7)  
12 4/5-4/8 OS issues (Ch 7), performance improvements (Ch 6), crash resiliency (Ch 6) (kernel 2 due on Friday)
13 4/12-4/15 crash resiliency (Ch 6), directories and naming (Ch 6), RAID, flash memory, case studies (Ch 6), devices (Ch 4)  
14 4/19-4/22 devices (Ch 4), virtual machines, microkernels (Ch 4), scheduling (Ch 5)  
15 4/26-4/29 scheduling (Ch 5), shared libraries (Ch 3) (kernel 3 due on Saturday)
The number of minutes are just estimates. Also, slide numbers are approximate since I may add or delete slides from time to time.
Week # Lecture # Dates Minutes Lecture Topics
1 1
2
1/18-1/19
1/20-1/21
80
80
course administration (slides 1-71)
introduction (Ch 1) (slides 1-22), a simple OS (Ch 1) (slides 1-6)
2 3
4
1/25-1/26
1/27-1/28
80
80
a simple OS (Ch 1) (slides 7-66)
a simple OS (Ch 1) (slides 67-85), thread creation, termination (Ch 2) (slides 1-18)
3 5
6
2/1-2/2
2/3-2/4
80
80
thread creation, termination (Ch 2) (slides 16-38), thread synchronization (Ch 2) (slides 1-14)
thread synchronization (Ch 2) (slides 14-74)
4 7
8
2/8-2/9
2/10-2/11
80
80
thread synchronization (Ch 2) (slides 74-97), thread safety, deviations (Ch 2) (slides 1-18)
thread safety, deviations (Ch 2) (slides 19-59)
5 9
10
2/15-2/16
2/17-2/18
80
80
context switching, I/O (Ch 3) (slides 1-90)
context switching, I/O (Ch 3) (slides 90-135), dynamic storage allocation (Ch 3) (slides 1-11)
6 11
12
2/22-2/23
2/24-2/25
80
80
dynamic storage allocation (Ch 3) (slides 12-39), static linking and loading (Ch 3) (slides 1-45)
booting (Ch 3) (slides 1-18), a simple system (Ch 4) (slides 1-32)
7 13

14
3/1-3/2

3/3-3/4
80

80
a simple system (Ch 4) (slides 33-61), thread implementation strategies (Ch 5) (slides 1-20),
threads implementations (Ch 5) (slides 1-11)
threads implementations (Ch 5) (slides 12-38), interrupts (Ch 5) (slides 1-29)
8 15

16
3/8-3/9

3/10-3/11
80

80
interrupts (Ch 5) (slides 30-59), scheduler activations model (Ch 5) (slides 1-14)
storage management (Ch 4) (slides 1-18), files (Ch 1) (slides 1-27)
files (Ch 1) (slides 28-72)
9 17
18
3/15-3/16
3/17-3/18
80
80
files (Ch 1) (slides 73-92), exams (slides 1-17), the basics of file systems (Ch 6) (slides 1-23)
the basics of file systems (Ch 6) (slides 24-45), virtual memory (Ch 7) (slides 1-28)
10 19
20
3/22-3/23
3/24-3/25
80
0
virtual memory (Ch 7) (slides 29-73)
Midterm Exams (no video)
11 21
22
3/29-3/30
3/31-4/1
80
80
virtual memory (Ch 7) (slides 74-93), OS issues (Ch 7) (slides 1-23)
OS issues (Ch 7) (slides 24-55)
12 23
24
4/5-4/6
4/7-4/8
80
80
OS issues (Ch 7) (slides 56-134)
performance improvements (Ch 6) (slides 1-55), crash resiliency (Ch 6) (slides 1-38)
13 25
26
4/12-4/13
4/14-4/15
80
80
crash resiliency (Ch 6) (slides 39-60), directories and naming (Ch 6) (slides 1-27)
RAID, flash memory, case studies (Ch 6) (slides 1-38), devices (Ch 4) (slides 1-13)
14 27
28
4/19-4/20
4/21-4/22
80
80
devices (Ch 4) (slides 14-28), virtual machines, microkernels (Ch 4) (slides 1-37)
virtual machines, microkernels (Ch 4) (slides 38-81), scheduling (Ch 5) (slides 1-3)
15 29
30
4/26-4/27
4/28-4/29
80
80
scheduling (Ch 5) (slides 4-63)
scheduling (Ch 5) (slides 64-129), shared libraries (Ch 3) (slides 1-25)