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.
Free Online CTL Tutoring Wed. Sep 23 by Nick The Center for Teaching and Learning reached out asking us to share the following announcement about free tutoring. Feel free to get in touch with them if you're interested! "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 and CS 106B, 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. We also have a variety of remote learning resources and academic coaching available to assist with all of your learning needs!"
As a reminder, with any tutoring, please make sure to adhere to the course honor code and collaboration policy. You can find information about tutoring in particular on the collaboration page.
Assignment 1 Posted Mon. Sep 21 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 Wed. 9/30 at 11:59PM PST. You can find more details on the assignment page.
As you start working, we want to include a reminder about the course style guide; it contains an in-depth reference about how to ensure your programs have great style! Additionally, through TA helper hours and the discussion forum, our focus will be on supporting you so that you can track down your own bugs. Please ask us how to best use tools (like the brand-new GDB!), what strategies to consider, and advice about how to improve your debugging process or track down your bug. If you have debugging questions during helper hours, please make sure to gather information and explore the issue on your own first, and fill out the QueueStatus questions with this information. Starting with a future assignment, we will require this information when signing up for helper hours for debugging help, so please make sure to provide as much information as possible.
Lab Assignments PostedMon. April 13 by Nick We have posted lab assignments on the labs page of the course website. You can view your assignment here. We did our best to assign everyone to one of their top choices; your enrolled lab will be bolded on this page. On this form, if you'd like, you can also join a different lab with space available. Unfortunately, if a lab is full, we are not able to accommodate additional students at this time, but check back later, as enrollments may shift over time.
Labs start Tues., and there's nothing you need to do before lab this week - just go over to Nooks (see the Help page for more info) and join the room for your lab leader at the specified time. They'll explain everything about lab and what it's all about. Going forward, labs will be published each Saturday, including a pre-lab exercise (a short activity that should take 20-30min) to complete before lab. You can find more information about labs and lab policies on the labs page. We'll see you in lab this week!
Lab Signups Open until Sat. 5PM Tues. Sep 15 by Nick Lab preferences submissions are now open! From now until Saturday at 5PM PST, please submit your lab preferences for which lab you would prefer to attend this quarter. Note that preferences are not first-come first-serve; you may fill out your preferences anytime between those dates, and you may come back to update your preferences later as well. You can access the lab signup page via the link on the labs page here.
Helper Hours Schedule Posted Mon. Sep 14 by Nick We have posted information about Helper Hours on the Getting Help page. We'll be using a tool called Nooks this quarter to facilitate Helper Hours and staff shifts during Helper Hours. Please join our Nooks community to work with other students, and to get help from the TAs! You don't need to have questions to come by Helper Hours - feel free to drop in and chat with others anytime! You can also see the calendar for Staff Helper Hours on the Getting Help page as well.
Assignment 0 Posted Mon. Sep 14 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/21 at 11:59PM PST, and there are no late submissions accepted for this assignment (late days or otherwise), so please make sure to submit by the deadline.
Apply to CS107A (ACE/Pathfinders) Sun. Sep 13 by Nick (based on CS106B post written by Sonja Johnson-Yu) CS107A, also known as CS107 ACE, is a 1-unit supplementary section designed to build a stronger foundation in computer science. Students participating in ACE will attend an additional weekly section and participate in special office hours and ACE-specific review sessions. Section is scheduled for Tuesdays 10-11:50AM PST, but an asynchronous option will be available for students in international time zones or with class conflicts.
ACE is one of the School of Engineering’s Equity and Inclusion Initiatives. We especially want to provide an opportunity for students who come from educationally disadvantaged backgrounds or for anyone who feels they might need additional support in order to succeed. We limit enrollment to enable small classes that allow students to have one-on-one interactions with the TA.
If you are interested in joining the ACE section, please apply online - click here. The application will be open until 5PM PDT on Friday, September 18. Prior to application results being released, any student who's applying/planning to apply should attend CS 107A sections. You can find more information about CS107A on our FAQ page. If you have further questions about ACE, feel free to reach out to Jennie Yang (CS107A TA) at email@example.com.
Welcome! Tues. Sep 1 by Nick Welcome to CS107! Class starts remotely on Monday, September 14th. We are looking forward to meeting you and starting off a great quarter together! We'll have more details to come about the format of CS107's remote fall offering. In the meantime, please feel free to check out the updated FAQ. It covers questions about recorded lectures, conflicting classes, CS107E, CS107A, and more. We hope you find it helpful! Other details and course policies listed are subject to change, so please stay tuned.
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 PDT via Zoom (link on Canvas)
Labs: Tue/Wed/Thu at various times on Nooks; students sign up for labs after the quarter begins.
- Handout 1 - General Information contains a summary of the course logistics and policies
- 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.