Lecture Week 4: Heap Memory Management


Course Meetup: Tuesday, Feb. 16

The next course meetup at on Tuesday, Feb. 16 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).

Note: COVID-19 Spring Break Replacement Day Off

This Wednesday (Feb. 17) is the first of three COVID-19 “Spring Break Replacement Day Off”. Since CS 423 does not have any scheduled activities on Wednesdays, this will not impact the course.

That said, the final “Spring Break Replacement Day Off” is on Tuesday, April 13. Since Tuesday is a regular lecture day, we will observe the week of April 12 - April 16 as our “Spring Break Replacement” for CS 240. Yay!!

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. Virtual Memory - Heap and Stack Memory
  2. Heap Memory Allocation - First-fit and Best-fit Approaches
  3. Building Malloc
Course Meetup

MPs and Homeworks

  1. Homework 5: Memory (PrairieLearn), due Feb. 22 by 11;59pm

  2. MP3: malloc - A two week MP to implement malloc!

    • Extra Credit: Due Feb. 22 by 11:59pm
    • Full MP: Due Mar. 1 by 11:59pm