[ This is a BACKUP server. Do NOT use unless the primary server is DOWN. ]

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-m25/summer-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 email 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 email 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 email 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.)

If you have trouble accessing one of the videoes directly, please try the following. Go to USC Brightspace to our class, click on Content and click on Week N on the left side, where N is a week number, then click on the lecture video you want to access. In this case, you are looking at a basic MP4 video player. Then click on the icon at the bottom of the video player that has an arrow pointing to the right-top corner of your screen (it says "Watch In Panopto" if you hover your mouse over it), if it all works, you will be viewing the video in the Panopto video player which is a better video player with more features. If not, you would see a screen that asks you to login to D2L or Panopto. Go back to the previous screen and click on the video to start playing the video in the basic MP4 player for about 10 seconds. Then click on the icon at the bottom of the video player that has an arrow pointing to the right-top corner of your screen (it says "Watch In Panopto" if you hover your mouse over it), this time, it should works. The browser will also memorize your Panopto/D2L credentials. From this point on, you can come back to this web page and click on the video links directly.

Please note that the lecture numbers below correspond to the lecture numbers in a Fall/Spring semester.

May 22, 2025: May 23, 2025 (week 1 discussion):
May 27, 2025: May 29, 2025: May 30, 2025 (week 2 discussion):
Jun 3, 2025: Jun 5, 2025: Jun 6, 2025 (week 3 discussion): Prerequisite: finish all lecture videos on thread synchronization
Jun 10, 2025: Jun 12, 2025: Jun 13, 2025 (week 4 discussion):
Jun 17, 2025: Jun 19, 2025: Jun 20, 2025 (week 5 discussion):
Jun 24, 2025: Jun 26, 2025: Jun 27, 2025 (week 6 discussion):
Jul 1, 2025: Jul 3, 2025:
  • no lecture videos or live lecture - university holiday
Jul 4, 2025 (week 7 discussion):
Jul 8, 2025: Jul 10, 2025: Jul 11, 2025 (week 8 discussion): Prerequisite: you should probably only watch these videos when you are done with kernel 2
Jul 15, 2025: Jul 17, 2025: Jul 18, 2025 (week 9 discussion):
Jul 22, 2025: Jul 24, 2025: Jul 25, 2025 (week 10 discussion):
Jul 29, 2025: Jul 31, 2025:
  • No pre-recorded lecture videos for Jul 31, 2025 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)
Aug 1, 2025: 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 5, 2025) - final exam, 9:30am-10:10am (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 #
   Date   
Minutes
Lecture Topics
1
5/22
120
course administration (slides 1-85), introduction (Ch 1) (slides 1-17)
2
5/27
120
introduction (Ch 1) (slides 18-22), a simple OS (Ch 1) (slides 1-66)
 
5/29
120
a simple OS (Ch 1) (slides 67-85), thread creation, termination (Ch 2) (slides 1-38)
3
6/3
120
thread synchronization (Ch 2) (slides 1-74)
 
6/5
120
thread synchronization (Ch 2) (slides 74-97), thread safety, deviations (Ch 2) (slides 1-38)
4
6/10
120
thread safety, deviations (Ch 2) (slides 39-59), context switching, I/O (Ch 3) (slides 1-90)
 
6/12
120
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/17
120
booting (Ch 3) (slides 1-18), a simple system (Ch 4) (slides 1-61)
 
6/19
120
thread implementation strategies (Ch 5) (slides 1-20), threads implementations (Ch 5) (slides 1-38), interrupts (Ch 5) (slides 1-29)
6
6/24
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)
 
6/26
120
files (Ch 1) (slides 54-92), the basics of file systems (Ch 6) (slides 1-23)
7
7/1
120
the basics of file systems (Ch 6) (slides 24-45), virtual memory (Ch 7) (slides 1-44)
 
7/3
120
virtual memory (Ch 7) (slides 44-94), OS issues (Ch 7) (slides 1-23)
8
7/8
0
Midterm Exam (no video)
 
7/10
120
OS issues (Ch 7) (slides 24-89)
9
7/15
120
OS issues (Ch 7) (slides 90-134), performance improvements (Ch 6) (slides 1-55), crash resiliency (Ch 6) (slides 1-38)
 
7/17
120
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/22
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)
 
7/24
120
virtual machines, microkernels (Ch 4) (slides 38-81), scheduling (Ch 5) (slides 1-30)
11
7/29
120
scheduling (Ch 5) (slides 31-129), shared libraries (Ch 3) (slides 1-27)
 
7/31
0
(no video)
12
8/5
0
Final Exam (no video)