Important course announcements will be posted below and announced in class. You are responsible for all material that appears here and should check this page for updates frequently.
Assignment 3 Posted Tues. Oct 15 by Nick Assignment 3 has been posted on the assignments page. It is meant to reinforce the topic of pointers, arrays and heap allocation, with exercises ranging from implementing a convenient version of a C file I/O function to implementing your own versions of the Unix "tail" and "uniq" commands. We hope you have fun with it! The assignment is due Mon. 10/21 at 11:59PM PST. You can find more details on the assignment page.
Assignment 1 Grades Released Mon. Oct 14 by Nick Assignment 1 grades have been posted to the Gradebook page, along with style feedback for the assignments. The median on the assignment was 76/80 - awesome work!
Assignment 2 Posted Tues. Oct 8 by Nick Assignment 2 has been posted on the assignments page. It is meant to reinforce the topic of C Strings, with exercises ranging from implementing tools to display environment variables to implementing your own version of the Unix "which" command. We hope you have fun with it! The assignment is due Mon. 10/14 at 11:59PM PST. You can find more details on the assignment page.
Apply To Section Lead! Mon. Oct 7 by Nick The application is now open to apply to be a CS106 Section Leader starting in Winter 2019! The deadline for CS107 students is Thursday, October 17th at 11:59PM. Apply at https://cs198.stanford.edu, and please email email@example.com if you have any questions!
Assignment 0 Grades Released Mon. Oct 7 by Nick Assignment 0 grades have been posted to the Gradebook page, along with style feedback for the assignments. The median on the assignment was 25/25 - way to go!
Free VPTL Tutoring Tues. Oct 1 by Nick We've been asked to post the following message from the Center for Teaching and Learning: "Want to meet with an experienced peer to discuss course concepts, think through a problem set, or prepare for an upcoming exam? CTL offers appointment tutoring for CS 107, in addition to tutoring for a number of other courses. For more information and to schedule an appointment, visit our tutoring appointments and drop-in schedule page."
Assignment 1 Posted Tues. Oct 1 by Nick Assignment 1 has been posted on the assignments page. It is meant to reinforce the topics of bits, bitwise operators and integer representations, with exercises ranging from implementing the core "saturated arithmetic" algorithm to a bit-level cell simulation to a modern-day character encoding. We hope you have fun with it! The assignment is due Mon. 10/7 at 11:59PM PST. You can find more details on the assignment page.
Lab Signups Open Fri. Sep 27 by Nick Lab signups are now open! You can sign up using the link provided on the Labs page. Signups are first-come-first-serve, so we recommend signing up early if you have many scheduling constraints. You can also use the lab signup page to switch or drop your lab. Labs start next week.
Lab Schedule Posted Fri. Sep. 27 by Nick Lab signups open later this morning, so we have posted our current lab time offerings on the Labs webpage if you would like to plan ahead to decide your preferences on dates/times. Note that we may add additional labs depending on enrollment. Beginning at 10:30AM, you can access the lab signup page via the link on the labs page here.
Lab Signups Open Fri. 10:30AM Wed. Sep. 25 by Nick We are still finalizing lab times for the quarter, and for this reason are slightly delaying lab signups opening until Fri. 9/27 at 10:30AM. We appreciate your patience!
Helper Hours Schedule Posted Mon. Sep. 23 by Nick We have posted our helper hours schedule for the quarter on the Getting Help webpage. The schedule may fluctuate slightly as we finalize times, so please check the calendar on that page for the latest updates. Please feel free to stop by!
Assignment 0 Posted Mon. Sep. 23 by Nick Assignment 0 has been posted on the assignments page. It is meant as an introduction to Unix and C, with exercises ranging from uncovering who got unauthorized access to a filesystem to modifying a provided C program to accept command-line arguments. We hope you have fun! The assignment is due Mon. 9/30 at 11:59PM PST, and there is no grace period for this assignment, so please make sure to submit by the deadline.
Welcome! Fri. Sep. 20 by Nick Welcome to CS107! Our first lecture is Monday, September 23 at 11:30AM in NVIDIA Auditorium. We are looking forward to meeting you and starting off a great quarter together! If you have questions about the course before the quarter starts, please feel free to check out the FAQ. It covers questions about recorded lectures, conflicting classes, CS107E, CS107A, and more. We hope you find it helpful!
CS107 is the third course in Stanford's introductory programming sequence. The CS106 courses provide you with a solid foundation in programming methodology and abstractions, and CS107 follows on this to build up and expand your breadth and depth of programming experience and techniques. The course will work from the C programming language down to the microprocessor to de-mystify the machine. With a complete understanding of how computer systems execute programs and manipulate data, you will become a more effective programmer, especially in dealing with issues of debugging, performance, portability, and robustness. Topics covered include: the C programming language, data representation, machine-level code, computer arithmetic, elements of code compilation, optimization of memory and runtime performance, and memory organization and management.
The class has two lectures a week and a weekly lab designed for hands-on learning and experimentation. There will be significant programming assignments and you can expect to work hard and be challenged by this course. Your effort can really pay off - once you master the machine and advance your programming skills to the next level, you will have powerful mojo to bring to any future project!
Lectures: Mon & Fri 11:30AM-12:50PM in NVIDIA Auditorium; Note that this is shorter than what Axess says. We will only use the full Axess-listed timeslot for the Midterm exam.
Labs: Tue/Wed/Thu at various times in Gates B08; students sign up for labs after the quarter begins.
Date/Time: Friday, November 1st, 11:30AM-1:20PM (in class)
Info: midterm webpage
Date/Time: Friday, December 13th, 8:30AM-11:30AM
Info: final exam webpage
- Handout 1 - General Information contains a summary of the course logistics and policies
- Handout 1B - SCPD Information contains a summary of course logistics for SCPD students
- Honor Code and Collaboration details how the Honor Code applies in this course, including specific examples of acceptable and unacceptable collaboration
- The FAQ contains answers to course questions and information about CS107E and CS107A.
- How are we doing? Submit anonymous feedback here.
Visit the Getting Help page for information about how to contact the course staff.