CS107 Lab 👋


Ben Yan (bbyan@stanford.edu)

☃️ Winter 2025 🏫 Gates Building B08 🕰️ Thursdays 3:00-4:20pm

Note: This is an outdated webpage, please see this link for the current version, thank you!!

Hello and welcome! This is my homepage for CS 107 lab slides, links to handouts & check-off forms, and resources on command-line debugging, Emacs, Valgrind, etc. If you have any questions, please feel free to reach out over email or Slack!

Schedule

Lab 1

Bits, Bytes, and Integers — Jan 16

Slides Lab Handout Check-Off Form

GDB Debugging Guide Emacs Guide

Lab 2
Lab 3

Pointers, Arrays, Heap — Jan 30

Slides Lab Handout Check-Off Form

Lab 4

Into the Void — Feb 6

Slides Lab Handout Check-Off Form

Lab 5

Assembly — Feb 13

Slides Lab Handout Check-Off Form

Lab 6

Runtime Stack — Feb 20

Slides Lab Handout Check-Off Form

Lab 7

Optimization & Ethics — Mar 6

Slides Lab Handout Check-Off Form

Lab Mechanics

Lab is graded on participation i.e. showing up and filling out an online check-off form as you work, with credit being awarded for a sincere effort as opposed to getting every detail correct. If you have any questions, please ask me during or right after lab!

For getting help in CS 107, please see the 107 course website for the office hours calendar and EdStem forum. My office hours are typically:

  • Sundays, 7 - 9 PM, Huang Engineering
  • Tuesdays, 7:30 - 9:30 PM, Huang Engineering
  • Wednesdays, 7 - 9 PM, Huang Engineering

The hours may vary by week, and the calendar has the most up-to-date information. I'm also generally happy to stay after lab if I can help with anything!