Lecture Week 6: Multiprogramming and Threads

Course Meetup: Tuesday, Mar. 2

The next course meetup at on Tuesday, Mar. 2 at 12:30pm on Zoom. We will use the same link all semester long (same as last week, and you can find it in Compass 2g as the only announcement for CS 240).

Midterm Exam Information

The CS 240 Midterm #1 exam is on Thursday, Mar. 18.

  • You will have 90 minutes to complete the exam.
  • You can take the exam anytime during the day on Thursday (the exam will become available at midnight on March 18).
  • The exam is open notes, open book, open Google, but closed other people. You can do anything except chat with another person about the exam during the exam.
  • The format of the exam will be identical to the practice exam available on PrairieLearn.

Lecture Handouts

  • Lecture Handout for Week #6: PDF

As you go through the lecture notes, you can print this out or use a tablet to fill in key ideas from the notes! They’re designed to cover the same sample problems you’ll see in the lecture notes! :)

Lecture Topics

In our previous course meetup, we chatted about exploring a hybrid approach to lecture notes. This week is a first pass at this approach with three detailed articles:

  1. Lecture Video - Part 1 (Handout Pages 1-2)
  2. Lecture Video - Part 2 (Handout Page 3)
  3. Lecture Video - Part 3 (Handout Page 4)

Course Meetup

MPs and Homeworks

  1. Homework 7: Paging (PrairieLearn), due Mar. 8 by 11:59pm

  2. MP4: threading, due Mar. 8 by 11:59pm