Lecture Materials
Note: Today's Karel problem can be found
here.
Class Announcements
-
Section sign ups: The section signup form opened yesterday, and will close this Sunday at 5pm PDT.
-
Early assignment start: Even though assignment 1 isn't due until Friday, get an early start - some of the problems are tricky!
Learning Goals
The goal of today's class is for you to feel comfortable with the programming strategy called "decomposition" whereby you take a large problem and break it down into smaller pieces (which become their own function). When approaching programming challenges experts often alternate between setting milestones and achieving those milestones via decomposition.