CS107e Spring 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 4
    Lecture
    Mon 4/20
    Modules, Libraries, and Linking ( slides, code )

    Start sequence, build process, makefiles, linking, libraries, module design.

    Readings:

    Lab/assign Lab 3: Debugging and Testing ( writeup )

    Prelab to prep before lab.

    Assignment 3: String Formatting
    Lecture
    Fri 4/24
    Memory Management ( )

    Stack allocation: stack frames, local variables, backtrace. Dynamic allocation: implementing a heap allocator. Runtime detection of memory errors.

    Readings:

    • 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?

    See schedule for entire quarter.

    Meet the team