NOTE: this website is out of date. This is the course web site from a past quarter, Spring 2023. If you are a current student taking the course, you should visit the current class web site instead. If the current website is not yet visible by going to cs107.stanford.edu, it may be accessible by visiting this link until the new page is mounted at this address. Please be advised that courses' policies change with each new quarter and instructor, and any information on this out-of-date page may not apply to you.
Spring 2023
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.
Announcements
Scroll to see more announcements. Updates will also be posted on the discussion forum.
-
Final Course Grades Posted Wed. June 21 by Nick Final grades have been uploaded to Axess. Check your Stanford email for more details about grades. We have also posted all your grade information and breakdown to the Gradebook page. There is more information about how we calculated final course grades on the Ed forum here. Have a great summer break - we hope you enjoyed the course!
-
Final Exam Grades Released Wed. June 21 by Nick Final exam scores have been released via Gradescope, an online course grading website. You can find more information about the exam solutions, statistics, how to see your score, and information about regrade requests, on the final exam grading page here. Awesome job on the exam!
-
assign6 Grades Released Tues. June 20 by Nick Assignment 6 grades have been posted to the Gradebook page, along with feedback on the readmes. The quartiles of scores on the assignment were as follows (/119): 1st quartile = 81, second quartile = 108, third quartile = 115. Awesome job on implementing your heap allocators!
-
assign5 Grades Released Sat. June 10 by Nick Assignment 5 grades have been posted to the Gradebook page, along with feedback on the readmes. The quartiles of scores on the assignment were as follows (/119): 1st quartile = 101, second quartile = 114, third quartile = 117. Awesome job!
-
CS107 Recap Page Posted Mon. June 5 by Nick As an additional resource to our final wrap-up lecture, we've posted a CS107 Recap Page that sums up everything we did this quarter, where you could go next, and ways to explore the CS107 material further if you're interested. We encourage you to check it out!
-
assign4 Grades Released Sat June 3 by Nick Assignment 4 grades have been posted to the Gradebook page, along with style feedback for the assignments. The quartiles of scores on the functionality portion of the assignment were as follows (/107): 1st quartile = 96, second quartile = 105, third quartile = 107. Awesome job!
-
Final Exam Mon. 6/12 3:30PM-6:30PM Tues. May 30 by Nick The CS107 final exam is on Monday, June 12 from 3:30PM-6:30PM in NVIDIA Auditorium. Please see the final exam webpage for information about the exam, as well as study tips and review materials. Like the midterm exam, the final exam is a closed-book paper exam.
If you have academic accommodations (e.g. OAE) or athletics accommodations, please let us know by Friday, June 2 at 11:59PM PDT. We'll also be hosting a review session for the exam, the details of which are coming soon! -
assign6 Released! Sat. May 27 by Nick The final assignment, assign6, has been posted in the assignments dropdown. It is meant to act as a capstone for all the topics we've covered this quarter by implementing your very own heap allocator! We hope you have fun with it. It is due Wednesday 6/7 at 11:59PM PT and no late submissions are accepted on this assignment, whether or not you have free late days remaining, except in cases of Head TA-granted extensions or OAE accommodations. There is also a checkpoint deadline by which point you need to submit the first part of the assignment (the implicit allocator). You can find more details on the assignment page.
-
Mid-Quarter Grade Update Posted Thurs. May 25 by Nick We've posted a mid-quarter grade update page containing overall course statistics for your work so far this quarter. That page includes your raw overall assignment score so far, your overall raw course score, and your percentile range. You can view all this information here. We hope you find it helpful!
-
assign5 Released! Wed May 17 by Nick Assignment 5 has been posted in the assignments dropdown. It is meant to reinforce the topics of assembly translation, reverse engineering, and trust and privacy. The backstory: you have been hired as a security expert for Stanford Bank (a fictional on-campus bank). They need you to investigate reports of infiltration and security issues and replicate the issues so that they can fix them. There are three parts to this assignment, and each one will have you investigate supposed vulnerabilities and assess the risks the bank faces. These problems are like C/assembly "puzzles" to solve, and we hope you enjoy solving them and exploring this material as much as we enjoyed creating them! The assignment is due Saturday 5/27 at 11:59PM PT. For this assignment, you can use at most 1 late day (late deadline is Sun 5/28) instead of 2 as on other assignments. You can find more details on the assignment page. We strongly recommend getting started early on this assignment! We'll also provide more tips and information about parts 2 and 3 in lecture 21 (Fri. 5/19). Check out Ed for more assignment tips and a recommended milestone deadline for each part.
-
Midterm Grades Released Wed May 17 by Nick Midterm exam scores have been released via Gradescope, an online course grading website. You can find more information about the exam solutions, statistics, how to see your score, and information about regrade requests, on the midterm grading page here. Good job on the exam! We have also posted a page containing information about commonly-asked questions heading into the final weeks of the course. We hope you find it helpful!
-
assign3 Grades Released Wed May 17 by Nick Assignment 3 grades have been posted to the Gradebook page, along with style feedback for the assignments. The quartiles of scores on the functionality portion of the assignment were as follows (/95): 1st quartile = 88, second quartile = 94, third quartile = 95. Rock on! See Ed for a more in-depth announcement about grading feedback.
-
assign2 Grades Released Thurs May 4 by Nick Assignment 2 grades have been posted to the Gradebook page, along with style feedback for the assignments. The quartiles of scores on the functionality portion of the assignment were as follows (/94): 1st quartile = 86, second quartile = 92, third quartile = 94. Awesome job! See Ed for a more in-depth announcement about grading feedback.
-
assign4 Released! Wed May 3 by Nick Assignment 4 has been posted on the assignments page. It is meant to reinforce the topic of generics, disclosure and partiality,
void *pointers and function pointers, with exercises ranging from implementing your own version of thelscommand to implementing your own version of thesortcommand. We hope you have fun with it! The assignment is due Wed 5/17 at 11:59PM PT. You can find more details on the assignment page. -
Midterm Exam Tues. 5/9 7-9PM Mon May 1 by Nick The CS107 midterm exam is on Tuesday May 9 from 7-9PM in NVIDIA Auditorium. Please see the midterm exam webpage for information about the exam, review materials and study tips. Please reach out to the instructor and Head TA ASAP if you have accommodations or a conflict with the midterm exam but have not already let us know.
-
assign3 Released! Wed April 26 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 Wed 5/3 at 11:59PM PT. You can find more details on the assignment page.
-
assign1 Grades Released Wed April 26 by Nick Assignment 1 grades have been posted to the Gradebook page, along with style feedback for the assignments. The quartiles of scores on the functionality portion of the assignment were as follows (/90): 1st quartile = 81, second quartile = 87, third quartile = 90. Awesome job! See Ed for a more in-depth announcement about grading feedback.
-
assign2 Released! Wed April 19 by Nick Assignment 2 has been posted on the assignments page. It is meant to reinforce the topic of C Strings and thorough documentation, 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 Wed 4/20 at 11:59PM PT. Note that we've also updated the codecheck tool to now check for indentation issues. Starting with the next assignment, part of your style grade will be dependent on having no code issues when run through the
codechecktool, so make sure to try it out! You can find more details on the assignment page. -
assign0 Grades Released Wed April 19 by Nick Assignment 0 grades have been posted to the Gradebook page, along with style feedback for the assignments. The quartiles of scores on the functionality portion of the assignment were as follows (/26): 1st quartile = 25, second quartile = 26, third quartile = 26. Way to go! Check out Ed for a short debrief of the assignment.
-
assign1 Released! Mon April 10 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 understanding the effects of integer representations on real-world software. We hope you have fun with it! The assignment is due Wed 4/19 at 11:59PM PDT. 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! We have also added a newcodechecktool to this assignment - check out the spec for more information. 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 10 by Nick We have posted lab assignments - you can view your assignment from the "labs" dropdown in the top toolbar. We did our best to assign everyone to one of their top choices. 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 Wed., and this week your lab leader will introduce themselves and explain everything about lab and what it's all about. You can find more information about labs and lab policies on the course information page. We'll see you in lab this week! -
Lab Signups Open 9PM Tues. until Sat. 5PM Tues. April 4 by Nick Lab preferences submissions open today at 9PM! (slightly pushed-back time; we're still working to finalize a few lab times). Anytime until Saturday at 5PM PDT, 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 preferences form in the "Labs" dropdown at the top of the page. For more information about labs including attendance, missing labs, and other policies, see the labs section of our course syllabus.
-
Assignment 0 Posted Mon. April 3 by Nick Assignment 0 has been posted under the assignments tab. 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. 4/10 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.
-
Join CS107ACE! Mon. April 3 by Frankie and Nick If you're looking for more practice and support as you take CS 107, consider joining CS 107ACE! ACE is a program that provides extra support to students in the School of Engineering. CS107ACE is a 1-unit companion class for CS107 that provides extra help for CS107 in a small classroom setting. The class meets M/W from 12-1pm in CERAS300; if you would like to join, come to the first class on Wednesday at 12 in CERAS300. During section, we will go over lecture content and do practice problems as a class. Sections are an opportunity to ask about anything in the course, and they are very fun! In addition to section, we hold CS107A-specific office hours twice a week. Besides the extra support, ACE is a great community and a fun addition to CS107! Everything CS 107ACE-related (including a more detailed syllabus) can be found on the course website, cs107a.stanford.edu. You can also contact Frankie (fmcerk@stanford.edu) with any questions.
-
Welcome! Mon April 3 by Nick Welcome to CS107! Class starts on Monday, April 3th at 1:30PM in NVIDIA Auditorium. We are looking forward to meeting you and starting off a great quarter together! We'll have more details to come about the details of CS107's spring 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! SCPD students, please check out our SCPD handout for more information on SCPD logistics.
Course Logistics
Lectures: Mon/Wed/Fri 1:30PM-2:20PM in NVIDIA Auditorium
Labs: Wed/Thu/Fri at various times; students sign up for labs after the quarter begins.
Exams:
-
Midterm Exam
Date/Time: Tuesday, May 9th, 7-9PM PDT
Location: NVIDIA Auditorium
Info: midterm webpage -
Final Exam
Date/Time: Monday, June 12th, 3:30-6:30PM PDT
Location: NVIDIA Auditorium
Info: final exam webpage
Feedback
- How are we doing? Submit anonymous feedback here.
Course Staff
Instructor email: troccoli@stanford.edu
Head TA email: mworrel@stanford.edu
Visit the Getting Help page for more information about how to contact the course staff.
Megan Worrel (Head TA)
Advaya Gupta
Alex Bradfield
Christine Cheng
Daniel Rebelsky
Derek Chung
Eduardo Higuera Rodelo
Jagriti Dixit
Jerry Chen
Maia Nguyen
Tori Qiu
CS107A CA:
Frankie Cerkvenik