CS107 Lab ๐Ÿ‘‹


Ben Yan (bbyan@stanford.edu)

๐ŸŒธ Spring 2025 ๐Ÿซ 200-107 ๐Ÿ•ฐ๏ธ Friday 2:30 - 3:50 PM

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!

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

Schedule

Lab 1

๐Ÿงฎ Bits, Bytes, and Integers — Apr 11

Slides Lab Handout Check-Off Form

GDB Debugging Guide Emacs Guide

Lab 2

๐Ÿงต C Strings — Apr 19

Slides Lab Handout Check-Off Form Valgrind Guide

Lab 3

๐Ÿ‘‰ Pointers, Arrays, Heap — Apr 26

Slides Lab Handout Check-Off Form GDB Guide

Lab 4

๐ŸŒ  Into the Void — May 2

Slides Lab Handout Check-Off Form

Lab 5

โš™๏ธ Assembly

Slides Lab Handout Check-Off Form

Lab 6

๐Ÿ“š Runtime Stack

Slides Lab Handout Check-Off Form

Lab 7

๐Ÿšž Optimization & Ethics

Slides Lab Handout Check-Off Form

Review

๐Ÿ€ Final Review Session

Slides Final Exam Page

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:

  • Tuesdays, 7 - 9 PM, CODA Basement ๐ŸŒƒ
  • Wednesdays, 3 - 5 PM, CODA Basement ๐ŸŒ…
  • Wednesdays, 7 - 9 PM, CODA Basement ๐ŸŒƒ

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!