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-m22/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.

Sometimes, if you start the video from the very beginning, the video would appear to be frozen or looping. Here's what you can do. In the video control (below the lecture slides on the right), there is a row of buttons/controls that looks like the following:

You can click on the fast-forward 10 seconds button (3rd button from the left) then click on the fast-reverse 10 seconds button (2nd button from the left) and that should get it unstuck.

(Please note that access to lecture notes and videos is restricted.)
Week 1 May 19, 2022: May 20, 2022 (week 1 discussion):
Week 2 May 24, 2022: May 26, 2022: May 27, 2022 (week 2 discussion):
Week 3 May 31, 2022: Jun 2, 2022: Jun 3, 2022 (week 3 discussion): Prerequisite: finish all videos on thread synchronization
Week 4 Jun 7, 2022: Jun 9, 2022: Jun 10, 2022 (week 4 discussion):
Week 5 Jun 14, 2022: Jun 16, 2022: Jun 17, 2022 (week 5 discussion):
Week 6 Jun 21, 2022: Jun 23, 2022: Jun 24, 2022 (week 6 discussion):
Week 7 Jun 28, 2022: Jun 30, 2022: Jul 1, 2022 (week 7 discussion):
Week 8 Jul 5, 2022:
  • No lecture video or live lecture (midterm xam)
Jul 7, 2022: Jul 8, 2022 (week 8 discussion): Prerequisite: you should probably only watch these videos when you are done with kernel 2
Week 9 Jul 12, 2022: Jul 14, 2022: Jul 15, 2022 (week 9 discussion):
Week 10 Jul 19, 2022: Jul 21, 2022: Jul 22, 2022 (week 10 discussion):
Week 11 Jul 26, 2022: Jul 28, 2022:
  • No lecture videos for Jul 28, 2022 since all materials have been covered! (We are covering exactly the same lectures material and doing exactly the same programming assignments as in all previous semesters.)
  • live lecture (house-keeping PDF) - video recording of live lecture (5 minutes)
Jul 29, 2022 (week 11 discussion): No discussions this week. (We are covering exactly the same discussions material and doing exactly the same programming assignments as in all previous semesters.)

Preview:

  • (Aug 2, 2022) - final exam (firm)
The following are tentative slides (in PDF format) for this semester.
The number of minutes are just estimates. Also, slide numbers are approximate since I may add or delete slides from time to time.
Week # Dates Minutes Lecture Topics
1 5/19 120 course administration (slides 1-68), introduction (Ch 1) (slides 1-17), a simple OS (Ch 1) (slides 1-6)
2 5/24
5/26
120
120
introduction (Ch 1) (slides 8-22), a simple OS (Ch 1) (slides 1-66)
a simple OS (Ch 1) (slides 67-85), thread creation, termination (Ch 2) (slides 1-38)
3 5/31
6/2
120
120
thread synchronization (Ch 2) (slides 1-74)
thread synchronization (Ch 2) (slides 74-97), thread safety, deviations (Ch 2) (slides 1-38)
4 6/7
6/9
120
160
thread safety, deviations (Ch 2) (slides 39-59), 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-39), static linking and loading (Ch 3) (slides 1-45)
5 6/14
6/16
120
120
booting (Ch 3) (slides 1-18), a simple system (Ch 4) (slides 1-61)
thread implementation strategies (Ch 5) (slides 1-20), threads implementations (Ch 5) (slides 1-38), interrupts (Ch 5) (slides 1-29)
6 6/21

6/23
120

120
interrupts (Ch 5) (slides 30-65), scheduler activations model (Ch 5) (slides 1-14),
storage management (Ch 4) (slides 1-18), files (Ch 1) (slides 1-53)
files (Ch 1) (slides 54-92), the basics of file systems (Ch 6) (slides 1-23)
7 6/28
6/30
120
120
the basics of file systems (Ch 6) (slides 24-45), virtual memory (Ch 7) (slides 1-44)
virtual memory (Ch 7) (slides 44-94), OS issues (Ch 7) (slides 1-23)
8 7/5
7/7
0
120
Midterm Exam (no video)
OS issues (Ch 7) (slides 24-89)
9 7/12
7/14
120
120
OS issues (Ch 7) (slides 90-134), performance improvements (Ch 6) (slides 1-55), crash resiliency (Ch 6) (slides 1-38)
crash resiliency (Ch 6) (slides 39-60), directories and naming (Ch 6) (slides 1-27), RAID, flash memory, case studies (Ch 6) (slides 1-18)
10 7/19

7/21
120

120
RAID, flash memory, case studies (Ch 6) (slides 19-38), devices (Ch 4) (slides 1-28)
virtual machines, microkernels (Ch 4) (slides 1-37)
virtual machines, microkernels (Ch 4) (slides 38-81), scheduling (Ch 5) (slides 1-30)
11 7/26
7/28
120
0
scheduling (Ch 5) (slides 31-129), shared libraries (Ch 3) (slides 1-27)
(no video)
12 8/2 0 Final Exam (no video)