Princeton University

Computer Science 240

Fall 2024 
An introduction to mathematical topics relevant to computer science. Combinatorics, probability and graph theory will be covered in the context of computer science applications. The course will present a computer science approach to thinking and modeling. Students will be introduced to fundamental concepts in theoretical computer science, such as NPcompleteness and cryptography that arise from the world view of efficient computation.
We will cover basic topics in math that are important in computer science as well as basic topics in theoretical computer science. The following is a rough estimation of the number of lectures spent on each topic: Mathematical Proofs (1.5 lectures); Combinatorics (2 lectures); Probability Theory (6 lectures); Midterm Exam (replacing 1 lecture); Graph Theory (4 lectures); Game Theory (1.5 lectures); Countable vs Uncountable Sets (1 lecture); Theoretical Computer Science (Computability, Complexity, Cryptography) (7 lectures).
MW 3:00PM4:20PM, Computer Science Building 104
Please direct questions concerning your precept assignment to Colleen KennyMcGinley, the CS Department's Undergraduate Program Manager. Colleen's contact information is provided later on this page. The course's professor, lead preceptors, and graduate student preceptors do not manage precept assignments.
Number  Meeting Time  Meeting Place  Preceptor 
1  Th 12:30PM1:20PM  Friend Center 112  Kaya, Ito Alpturer 
2  Th 12:30PM1:20PM  Friend Center 007  Iasonas Petras 
3  Th 1:30PM2:20PM  CS Building 105  Ilya Maier 
5  Th 2:30PM3:20PM  CS Building 105  Iasonas Petras 
6  F 9:00AM9:50AM  Friend Center 009  Sebastian Simon 
Ran Raz, Ph.D. : email: ranr (at) cs.princeton.edu
Iasonas Petras, Ph.D. : email: ipetras (at) cs.princeton.edu
Office Hours: M from 11:00AM to 3:00PM
Kaya, Ito Alpturer : email: ki5613 (at) princeton.edu
Office Hours: Th from 6:00PM to 8:00PM
Ilya Maier : email: im0214 (at) princeton.edu
Office Hours: Tu from 2:00PM to 4:00PM
Sebastian Simon : email: ss9162 (at) princeton.edu
Office Hours: Tu from 4:00PM to 6:00PM
Natalia Khotiaintseva : email: nk9431 (at) princeton.edu
Office Hours: F from 10:20AM to 12:20PM
Yuqi Zhang : email: yz0067 (at) princeton.edu
Office Hours: W from 4:30PM to 6:30PM
Precepts start on Thursday 9/5
Preceptors' office hours start on Thursday 9/5
Alice Hou
Anupta Argo
Christopher Chen
Emily Gai
Jack O'Donnell
Lacey Rose DeLucia
Nick Zhu
Sabrina Van
William Pan
Alexander Khoretonenko
Arnav Pandit
Arya Maheshwari
Caroline Zhao
Chaeyoung Lee
Ijay Narang (starting 9/23/2024)
Jeffrey Xu
John Matters
Kate Park
Colleen KennyMcGinley : CS Building 210, email: ckenny (at) cs.princeton.edu
COS 126 and 226 (or sufficient mathematical background), and MAT 175 or MAT 202 or MAT 204. COS 226 can be taken along with COS 240 in the same term.
Mathematics for Computer Science, Eric Lehman and Tom Leighton, 2004.
Mathematics for Computer Science, Eric Lehman and F. Thomsom Leighton and Albert R. Meyer, 2010.
Please study the course Policies webpage.