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-f22/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 recorded in Zoom. 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 we are required to synchronized the two sections of CS 402. Therefore, if you have a lecture that falls on or (Spring semester only) (which are university holidays), you are expected to watch the lecture video on the next day.

(Please note that access to lecture notes and videos is restricted.)

Week 1 Lecture 1 videos and lecture slides (for Aug 22, 2022): Week 1 discussion video and slides: Lecture 2 videos and lecture slides (for Aug 24, 2022):
Week 2 Week 2 discussion video and slides: Lecture 3 videos and lecture slides (for Aug 29, 2022): Lecture 4 videos and lecture slides (for Aug 31, 2022):
Week 3 Week 3 discussion video and slides: Lecture 5 videos and lecture slides (for Sep 6, 2022): Lecture 6 videos and lecture slides (for Sep 7, 2022):
Week 4 Week 4 discussion discussions video and slides: Lecture 7 videos and lecture slides (for Sep 12, 2022): Lecture 8 videos and lecture slides (for Sep 24, 2022):
Week 5 Week 5 discussion video and slides: Lecture 9 videos and lecture slides (for Sep 19, 2022): Lecture 10 videos and lecture slides (for Sep 21, 2022):
Week 6 Week 6 discussion video and slides: Lecture 11 videos and lecture slides (for Sep 26, 2022): Lecture 12 videos and lecture slides (for Sep 28, 2022):
Week 7 Week 7 discussion video and slides: Lecture 13 videos and lecture slides (for Oct 3, 2022; 2/21/22 is a university holiday): Lecture 14 videos and lecture slides (for Oct 5, 2022):
Week 8 Week 8 discussion video and slides: Lecture 15 videos and lecture slides (for Oct 10, 2022): Lecture 16 videos and lecture slides (for Oct 12, 2022):
Week 9 Week 9 discussion video and slides:
  • video (part 1 of 1) - 52 minutes (TXT) - kernel 2 polymorphism, vfs.c, vnode.c, file.c, vfs_syscall.c, vn_mmobj_ops.c, ramfs.c, vfstest.c, faber_fs_test.c
Lecture 17 videos and lecture slides (for Oct 17, 2022): Lecture 18 videos and lecture slides (for Oct 19, 2022):
Week 10 Week 10 discussion video and slides: Lecture 19 videos and lecture slides (for Oct 24, 2022): Lecture 20 videos and lecture slides (for Oct 26, 2022):
Week 11 Week 11 discussion video and slides:
  • video (part 1 of 1) - 57 minutes (PDF) - more on kernel 3, address space implementation (vmarea, mmobj, pframe, page table)
Lecture 21 videos and lecture slides (for Oct 31, 2022): Lecture 22 videos and lecture slides (for Nov 2, 2022):
Week 12 Week 12 discussion video and slides: Lecture 23 videos and lecture slides (for Nov 7, 2022): Lecture 24 videos and lecture slides (for Nov 9, 2022):
Week 13 Week 13 discussion video and slides: Lecture 25 videos and lecture slides (for Nov 14, 2022): Lecture 26 videos and lecture slides (for Nov 16, 2022):
Week 14

(no discussion video this week)

Lecture 27 videos and lecture slides (for Nov 21, 2022): (Nov 23, 2022) - Thanksgiving Recess (no videos and no live lecture)
 
Week 15

(no discussion video this week)

Lecture 28 videos and lecture slides (for Nov 28, 2022): Lecture 29 videos and lecture slides (for Nov 30, 2022):

Preview:

  • (Dec 9, 2022) - PM section final exam, 11am-11:40am (firm)
  • (Dec 12, 2022) - DEN section final exam, 9am-9:40am (firm)
The following are tentative slides (in PDF format) for this semester.
The number of minutes below are estimated lecture video minutes and they do not include "discussion" video minutes. Also, slide numbers below refers to the slide numbers in the Tentative Slides section above and they are also estimates since I may add or delete slides.
Week # Lecture #    Dates    Minutes Lecture Topics
1 1 8/22 80 course administration (slides 1-74)
  2 8/24 80 introduction (Ch 1) (slides 1-22), a simple OS (Ch 1) (slides 1-6)
2 3 8/29 80 a simple OS (Ch 1) (slides 7-66)
  4 8/31 80 a simple OS (Ch 1) (slides 67-85), thread creation, termination (Ch 2) (slides 1-16)
3 5 9/6 80 thread creation, termination (Ch 2) (slides 16-38), thread synchronization (Ch 2) (slides 1-14)
  6 9/7 80 thread synchronization (Ch 2) (slides 14-74)
4 7 9/12 80 thread synchronization (Ch 2) (slides 74-97), thread safety, deviations (Ch 2) (slides 1-18)
  8 9/14 80 thread safety, deviations (Ch 2) (slides 19-59)
5 9 9/19 80 context switching, I/O (Ch 3) (slides 1-90)
  10 9/21 80 context switching, I/O (Ch 3) (slides 90-135), dynamic storage allocation (Ch 3) (slides 1-11)
6 11 9/26 80 dynamic storage allocation (Ch 3) (slides 12-39), static linking and loading (Ch 3) (slides 1-45)
  12 9/28 80 booting (Ch 3) (slides 1-18), a simple system (Ch 4) (slides 1-32)
7 13 10/3 80 a simple system (Ch 4) (slides 33-61), thread implementation strategies (Ch 5) (slides 1-20), threads implementations (Ch 5) (slides 1-11)
  14 10/5 80 threads implementations (Ch 5) (slides 12-38), interrupts (Ch 5) (slides 1-29)
8 15 10/10 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)
  16 10/12 80 files (Ch 1) (slides 28-72)
9 17 10/17 80 files (Ch 1) (slides 73-92)
  18 10/19 80 the basics of file systems (Ch 6) (slides 1-45), virtual memory (Ch 7) (slides 1-28)
10 19 10/24 80 virtual memory (Ch 7) (slides 29-73)
  20 10/26 80 virtual memory (Ch 7) (slides 74-93), OS issues (Ch 7) (slides 1-23)
11 21 10/31 80 OS issues (Ch 7) (slides 24-55)
  22 11/2 80 OS issues (Ch 7) (slides 56-134)
12 23 11/7 80 performance improvements (Ch 6) (slides 1-55), crash resiliency (Ch 6) (slides 1-38)
  24 11/9 80 crash resiliency (Ch 6) (slides 39-60), directories and naming (Ch 6) (slides 1-27)
13 25 11/14 80 RAID, flash memory, case studies (Ch 6) (slides 1-38), devices (Ch 4) (slides 1-13)
  26 11/16 80 devices (Ch 4) (slides 14-28), virtual machines, microkernels (Ch 4) (slides 1-37)
14 27 11/21 80 virtual machines, microkernels (Ch 4) (slides 38-81), scheduling (Ch 5) (slides 1-3)
  - 11/23 - Thanksgiving Recess (no videos)
15 28 11/28 80 scheduling (Ch 5) (slides 4-63)
  29 11/30 80 scheduling (Ch 5) (slides 64-129), shared libraries (Ch 3) (slides 1-27)