CS109: Probability for Computer Scientists

Summer 2018

Monday, Wednesday, Friday 1:30pm to 3:20pm in Gates B03

This is the website for the CS109 offering from Summer 2018. To access the course for Fall 2018, please go to this course page.

EXAMS

Midterm

Tuesday, July 24

7-9pm

Hewlett 201

Final

Friday, August 17th

3:30-6:30pm

TBD

Teaching Team

cs109@cs.stanford.eduLecturer

Final Exam

2018080818

The CS109 final exam is coming up: It is **next Friday (August 17th) from 3:30 to 6:30pm in Skilling Auditorium**. The exam is closed book, closed computer, and closed calculator. You are allowed four 8.5 x 11" pages of notes (front and back, so eight sides total). The final will cover up to and including Monday 8/13's lecture.

If you are an SCPD student, it is imperative that you fill out the SCPD proctoring information Google form by **Monday, August 13th, 5pm**. Filling out this form in a timely manner will allow me to send your exam monitors your exams on time (in the event you are taking the exam at your site and not locally).

The best way to study is with the Practice Final. Here are Solutions to the practice final. We recommend taking the practice final *first*, then look at the solutions. The practice final length, difficulty, and description blurb will be similar to the real deal.

We will be hosting two review sessions on Wednesday August 15th. One will be during **the second half of class** (concept review led by Lisa), and one will be **5:30-6:20pm in Huang 18** (exam/new problem review led by the TAs). If you would like to request that we go over particular concepts, problem set questions, midterm/practice exam questions, textbook problems, etc., please fill out this Review Google form by Monday, August 13th, 11:59pm. You can fill this out as many times as you like.

PSet #6 is out!

2018080600

Problem set #6 is out! It is due next Monday, August 13th at 1:30pm. One of the problems is a more involved coding exercise that requires you to process data. The datasets are now availible.

Make sure to keep writing explanations for your numerical answers! Also please list your collaborators like usual.

Midterm Exam and PSet #4!

2018071720

The CS109 midterm is coming up: It is **next Tuesday (July 24th) from 7:00 to 9:00pm in Hewlett 201**. The exam is closed book, closed computer, and closed calculator. You are allowed two 8.5 x 11" pages of notes (front and back, so four sides each). The midterm will cover up to and including this Friday's lecture.

If you are an SCPD student, it is imperative that you fill out the SCPD proctoring information Google form by **Wednesday, July 18th, 5pm**. Filling out this form in a timely manner will allow me to send your exam monitors your exams on time (in the event you are taking the exam at your site and not locally).

The best way to study is with the Practice Midterm. Here are Solutions to the practice midterm. We recommend taking the practice midterm *first*, then look at the solutions. The practice midterm length, difficulty, and description blurb will be similar to the real deal.

Also, Problem set #4 is out! It is due on Monday, July 30th at 1:30pm. **The first six problems are good practice for the midterm.** One of the problems requires you to process data. The datasets are now availible.

PSet #3 is out!

2018071300

**Problem Set Update:** There was a typo in Problem 10 which has now been fixed as of July 15th, 2pm. If you downloaded an earlier version, please download the new version of the Problem Set #3 PDF. Thanks!

Problem set #3 is out! It is due next Friday, July 20th at 1:30pm. Two of the problems require you to process data. The datasets are now availible.

Make sure to keep writing explanations for your numerical answers! Also please list your collaborators like usual.

PSet #2 is out!

2018070600

Problem set #2 is out! It is due next Friday, July 13th at 1:30pm. One of the problems require you to process data. The datasets are now availible.

The submission portal will be posted on Gradescope early next week. Make sure to keep writing explanations for your numerical answers!

PSet #1 is out!

2018062623

PSet #1 has been released! It is due next Friday, July 6th at 1:30pm. Submission will be via Gradescope (entry code MWVBP7). Office hours will start Wednesday; see the office hour calendar for times and locations.

**We will post the assignment in Gradescope for you to submit early next week (beginning of July)**. For now, just verify that you can add the course on Gradescope. Thanks!

You can optionally write up your problem sets using LaTeX. See this introduction to LaTeX, and the LaTeX code used to generate it. Though you may install LaTeX, it is often much easier to use an online LaTeX editor. Two good options are: overleaf.com and sharelatex.com.

Python Tutorial

2018062623

There will be an optional Python tutorial led by TA Elliott Chartock, Thursday (June 28th) from 2:30pm-3:20pm in Gates B03 (our lecture hall). This session will be recorded and will cover what is needed to get you caught up to Python in case you have never used it before. For those of you just looking for installation instructions, I've posted a handout on Getting started with Python, which discusses installation, running Python programs, Jupyter notebooks, and some useful library functions.

Python is not required for CS109. However a few problems in the problem sets require coding, and seeing as Python is the language of computer science for probability, it's worth learning. We will record the session.

The Jupyter Notebook used for the tutorial is at this GitHub repo.

CS109 Course Information

2018062400

We put together some documents to help you understand where we are going to go in CS109 and how we are going to get there. See the Administrivia handout for details on logistics.

The Course Schedule page shows you the topics that we are going to cover in CS109 and the corresponding readings. We will also post materials from lecture on the schedule page.

Welcome

2018062400

Welcome to CS109! We are looking forward to a fun quarter. Class starts Monday June 25th at 1:30pm in Gates B03.