CS 145 at Stanford Schedule

Weeks 1 to 10 • Tue and Thu • Nov 3 holiday

Key deadlines at a glance

PSETs and projects are due at 11:59 pm Pacific on the stated deadline. You have 2 PSET late days and 2 project late days for the quarter; they cannot be exchanged. Each adds exactly 24 hours, including weekends and holidays. Use one day on each of two assignments or both on one, within the same category. Submissions beyond your allowed extension receive no credit. No late days apply to the Project 2 proposal, due October 30 at 11:59 pm Pacific. In case of extenuating circumstances, only the head CA can grant additional extensions. Please reach out through a private Ed post before the deadline, or as soon as you can if circumstances prevent that.

PSET 0 Sep 25
PSET 1 Oct 5
PSET 2 Oct 12
Project 1 Oct 16
PSET 3 Oct 19 → Oct 23
PSET 4 · Coming soon Nov 9
Project 2 Nov 20
PSET 5 · Coming soon Dec 2
Final Exam Dec 7, 7-10pm

Final exam attendance

These requirements apply to non-CGOE students.

Final exam

Attend in person. We cannot offer alternate times for exam conflicts, so resolve any conflict before enrolling.

OAE accommodations

The exam remains on Dec 7; extended time will be scheduled that day.

CGOE students

Contact your CGOE proctor or administrator. We will coordinate the final through CGOE and email the exam information to your proctor.

Office hours and sections

Upcoming times, in Pacific time.

Where to start

Following the course. Use the live slides below, read the course notes, and complete the matching PSET. The optional module quiz is a quick, self-graded check; there is nothing to submit. Modules build on one another. The lecture PDF archive keeps fixed copies of the slides.

Course notes. Notes linked below are required unless marked Optional at the top of the page. Open Modules to revisit a topic, and use Video mode for a fast pass.

Assignments. PSETs and projects are graded deliverables; nano quizzes provide optional Path 1 credit. Use the exam prep path to prepare for the final. PSET and project deadlines appear below.

New to CS145? Read Logistics/FAQs, browse the 20 questions this course answers, or take the .

Section Timings and Deliverables

Section timings
Wednesday, Thursday and Friday, several slots. Pick one; times are in the calendar above.
Format
First hour, Colab review, key questions and the nano quiz. Second hour (optional), PSET time with classmates; ask your CA when you get stuck. Quiz credit requires attending the full first hour.
Week Lectures (Tue / Thu) Sections and Deliverables Reading
1Sep 22, 24
M1
Basic SQL
Kickoff. SQLite and BigQuery intro. Mission briefing: gear up with SQL.
Setup: Canvas, Gradescope, Ed
Setup: BigQuery, Credits, Colab
Sep 25PSET 0
Required · 4
Full Module · In scope for the final
2Sep 29, Oct 1
M1
Intermediate SQL
Query equivalence. Text-to-SQL. OpenAI and Claude data stacks.
M6
Patterns of Big Data Systems
M2
Systems Basics
No deliverables this week
Required · 5
Full Module · In scope for the final
3Oct 6, 8
M2
M2 Basics
Vector databases. Approximate nearest-neighbor vector indices.
M3
Starting nanoDB
Oct 8: Storage layouts. BigSort. Hash partitioning (before indexing).
Oct 5PSET 1
Required · 6
Full Module · In scope for the final
4Oct 13, 15
M3
Indexing and Query Planning
Tue, Oct 13: Indexing.
Thu, Oct 15: Query planning.
Clarification: Project 1 & PSET 3
Oct 12PSET 2
Oct 16Project 1
Required · 6
Full Module · In scope for the final
5Oct 20, 22
M4
Transactions Intro
ACID properties. Ticketing case study.
Clarification: PSET 3
Oct 19 → Oct 23PSET 3
Required · 4
Full Module · In scope for the final
6Oct 27, 29
M4
Concurrency Control
Concurrency control, 2PL, LSM Trees.
Project 2 Deep-Dives
Parallel sessions on Systems and Science.
Clarification: Project 2 Questions
Required · 4
Full Module · In scope for the final
7Nov 3 (no class), Nov 5
M4
Recovery and Logging
Recovery logs (WAL).
Full walkthrough: Macroschedules, Microschedules, WAL & Recovery.
No deliverables this week
Required · 4
Full Module · In scope for the final
8Nov 10, 12
M5
Scaling Analytics
Part 1: Data designs, Parallelism. Distributed systems. Guest Speakers.
Nov 9PSET 4 · coming soon
Required · 5
Full Module · In scope for the final
9Nov 17, 19
M5
Distributed Systems
Sharding. Replication. Global consistency. Guest Spanner talk.
Systems Design & PSET 5 Prep
Sharding, replication, consistency trade-offs.
Clarification: PSET 5 Details
Required · 4
Full Module · In scope for the final
10Nov 24, 26
Thanksgiving Break
No section this week
No deliverables this week
Required
Thanksgiving.
11Dec 1, 3
Lessons from industry
Dec 2PSET 5 · coming soon
Required · 6