CS107e Winter 2026

CS107e is Computer Systems from the Ground Up. Read more about the course and review answers to common questions from prospective students and enrollment information.


When and where

    This week in CS107e

    Week 5
    Lecture
    Mon 2/2
    Memory Management ( slides, code )
    • Read our overview of stack frames
    • Review dynamic memory allocation (malloc/free in C) and the operation of the heap (K&R 5.6-5.9 or Essential C Section 6). Compare and contrast stack versus heap allocation. Why do we need both?
    Lab/assign Lab 4: Linked and Loaded ( writeup )

    Prelab to prep before lab.

    Assignment 4: Stack and Heap ( writeup )
    Lecture
    Fri 2/6
    C Mastery ( slides, code )

    We've crossed the halfway point! We will use this lecture to catch-up/expand on lecture content covered lightly on first pass, and discuss how to further your mastery of C.

    Readings:

    See schedule for entire quarter.

    Meet the team