CS 140 Course Information

Lectures

Lectures are Mondays, Wednesdays, and Fridays from 11:30-12:20 PDT. As with all Stanford courses this quarter, lectures will be taught online:

Lecture notes are available in advance and provide an outline for much of the material that will be presented in class; I recommend that you print out the notes and bring them to lecture so you can mark them up with additional notes during lecture. You can also cut and paste from the Web pages into programs such as Microsoft Word, and then annotate the copy during class with additional information.

Books

There is no required textbook for this class: the material of the course is defined by the lectures and does not exactly correspond to any existing book. However, I recommend the following book if you would like an additional source of material to supplement lectures:

Each page of lecture notes lists related readings in this book at the front of the notes page. Most students find that the material from lecture is sufficient for their course needs, so I recommend that you start the course without the book and only purchase the book if you are having difficulties understanding the lectures.

Section

The class will have a discussion section that meets four times over the course of the quarter, once for each project. The purpose of the sections is to introduce the projects and provide additional material that may be relevant as you work through the projects. See the projects page for the times and locations for the sections.

Projects

The class includes four programming projects based on the Pintos operating system, plus one problem set. The Pintos projects involve a significant amount of work (as much as 10-20 hours per week, according to students who have taken the class), so it's best to take CS 140 in a quarter where your other course load is lighter than normal. You must work on the Pintos projects in teams of two or three. It's very important to find team members that you can work well with; if you can't find a good team to join, you may be better off waiting to take the course at a later time.

Late Days

Each student is allowed a total of 3 late days for this class, which may be spent in units of one day (24 hours) on any project(s) throughout the quarter. Once your late days have been used up, late work will not receive any credit. Late days are intended to handle all issues, including unexpected problems such as illness. Note: most students find Project 3 to be particularly time-consuming; don't use up all your late days before this project!

Exams

The class will have two 90-minute midterm exams, one during the sixth week of the quarter and one at the end of the quarter. Exams will be outside the normal lecture hours; the times will be determined later, and we will schedule an alternate time for people who have conflicts. (Correction as of 5/27/2020: the second midterm exam has been cancelled.)

Regrades

We sometimes make mistakes in grading, both on projects and exams, and are happy to correct these if you point out the error. To request a regrade for a project, post a private question on Piazza and we will respond as quickly as possible. Regrade requests must be submitted within 5 days after we send out the grades for a project or exam.

Regrade requests should focus on errors (i.e., something we thought was wrong but actually was right, or we misunderstood your work). There may be situations where you made an error but disagree about the number of points deducted; it is highly unlikely that we will change your score in these situations, since we typically think through the rubrics pretty carefully.

Grading Policy

Grades for the class will be determined based on a 100-point total score computed as follows:

Problem Set 010points
Projects70points
Midterm Exam20points
Total100points

Honor Code

As in all Stanford classes, you are expected to follow the Stanford Honor Code. For example, the following activities are prohibited and will be treated as Honor Code violations (this is not intended to be a complete list of Honor Code violations):

You are allowed to discuss general approaches and issues with other students in the class besides your team members. It's also fine to give other students help finding bugs if they are stuck, or to answer general questions, such as "what is the meaning of this bit in a page table entry?" But, any code you write must be written by you and your team members, from scratch, without consulting existing solutions. We reserve the right to use computer software such as MOSS to analyze material that you submit in order to detect duplication with other students or existing solutions.

A general way to think about this is that if a particular activity significantly short-circuits the learning process (it saves you time but reduces the amount you learn and/or figure out on your own), or if it misrepresents your capabilities or accomplishments, then it is probably an Honor Code violation.

Students with Documented Disabilities

Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Student Disability Resource Center (SDRC) located within the Office of Accessible Education (OAE). SDRC staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is being made. Students should contact the SDRC as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 723-1066).