CS107e Winter 2025

CS107e is Computer Systems from the Ground Up. Read more about the course or answers to common questions from prospective students.


When and where

    This week in CS107e

    Week 2
    Lecture
    Mon 1/13
    From Assembly to C ( slides, code )
    • Our one-page guide to RISC-V.
    • Brush up on C basics (syntax, data types, operators, control structures) via your favorite C reference; sections 1-2 of Nick Parlante's EssentialC; or chapters 1, 2, and 3 of K&R. Skip content on I/O and standard libraries (we are bare metal!)
    • Read Dennis Ritchie's account of the history of C
    • Try out the Compiler Explorer demoed in lecture
    • Read our guides on make and gcc
    Lab/assign Lab 1: Getting to know your Mango Pi ( writeup )

    Please do the Lab 1 prelab preparation before coming to lab.

    Assignment 1: Larson Scanner ( writeup )
    Lecture
    Fri 1/17
    C Pointers and Arrays ( slides, code )
    • Review EssentialC chapters 3 and 6 (postpone heap and memory management for later) or K&R 5.1-5.4.
    • C volatile can be subtle and tricky. See GeeksForGeeks advice on correct use and John Regehr's blog on what NOT to do with volatile

    See schedule for entire quarter.

    Meet the team