Assignment 6 has been released! It is due on Friday, July 28th, 11:59pm PDT. It is a longer assignment than usual, which is why it is due on Friday instead of Wednesday. The assignment uses dictionaries (introduced in lecture on Wednesday), and a couple of new string functions that are described in the assignment (
.split()). The assignment is about data bias, and also includes some ethics questions at the end, to get you thinking about some of the ethical ramifications of your own programming.
Please ask questions in office hours, the LaIR, or on Ed.
Assignment 5 has been released! It is due on Wednesday, July 28th, 11:59pm PDT. The assignment involves some warmup exercises using a
while loop to find indexes in strings (we will cover this in class on Wednesday), and it involves drawing lines, rectangles, and ovals on the screen. We will cover the drawing portion in class on Friday, but if you want to get a head-start on the drawing, see the Drawing Reference document.
This is a fun assignment, and you will need to hone your arithmetic skills to complete it. Please ask questions in office hours, the LaIR, or on Ed.
Your Quiz 1 for CS106A, Summer 2021 has been graded! You can access your graded submission using Gradescope.com. Sometimes, we make grading mistakes, and if you want to request a regrade of your quiz, you can do so through Gradescope. The window for making the requests is Thursday, July 15th, 12:00pm PDT to Tuesday July 20th, 5pm PDT. Before asking for a regrade request, you MUST test your code by downloading the PyCharm project here. If you want to get your code exactly, just re-open the original quiz and copy/paste it into the PyCharm project in the necessary place.
Assignment 4 has been released! It is due on Wednesday, July 21st, 11:59pm PDT. It is all about cryptography, a fun subject with an interesting history.. When working on the assignment, read the instructions carefully – some students re-implement certain parts of the project instead of using the code they already have, and this is not good style. In particular, the encryption and decryption algorithms are completely symmetrical, such that if you write the algorithm once, you can use it in a slightly different way for both encryption and decryption, drastically cutting down on the lines of code you write. Enjoy!
Quiz 1 can be found here. Please see that page for the link to the quiz itself.
Assignment 2 has been released! It is due on Wednesday, July 7th, 11:59pm PDT. It includes some more Bit programming problems, this time with images, and it also includes some image programs using PyCharm, which you should have installed for assignment 0. Please go to LaIR, Office Hours, or ask a question on Ed if you have any questions.
Welcome to CS106A, Summer Quarter! This is the 10-week Stanford-student quarter discussion forum. I look forward to seeing everyone on Monday, June 21st, for the first lecture. Lectures will be recorded and available on Canvas, so you do not have to attend the live lecture (but the more, the merrier!) This website, along with the Ed Discussion forum will have all of the information for the course. The only part of the course on Canvas will be the Zoom meeting and the recorded videos. We will have more details about the course on Monday, but feel free to post here if you have any questions at this time. Cheers! -Chris
Here is the archived website for spring quarter.