

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Mehran Sahami Handout # CS 106A September 24, 2007
Based on a handout by Eric Roberts
Computers are everywhere in today’s world. The more you know about computers, the better prepared you will be to make use of them in whatever field you choose to pursue. Learning to program computers unlocks the full power of computer technology in a way that is both liberating and exciting. At the same time, programming is an intellectually challenging activity that comes easily to very few people. Taking a programming course requires a great deal of work and commitment on your part, but you will not be able to master programming without putting in that level of work somewhere along the way. The payoffs, however, are quite real. If you make the effort and keep up with the demands of the material, you will be able to make computers do amazing things. As you begin your journey in computing at Stanford, it would serve you well to decide what are the best options for you along this route.
What introductory programming course should I take?
A very large percentage of Stanford students take a programming course from the Computer Science Department at some point during their undergraduate career. Because we need to accommodate students with a wide range of backgrounds and interests, the CS department offers several different introductory classes:
appropriate course for you to start with, but often CS106X is a better choice. CS106B assumes that you already have familiarity with good programming style and software engineering issues (at the level of CS106A), and that you can use this understanding as a foundation on which to tackle new topics in programming and data abstraction. CS106B is offered in the Winter and Spring this year.
Note: Students who have previously taken CS106A and wish to enroll in CS106X in place of CS106B (if CS106B is not offered that quarter) are free to do so. You just need be prepared for a fast paced course.
I already know how to program—shouldn’t I skip the intro courses altogether?
Many students entering Stanford today have had considerable programming experience in high school or from their own independent work with computers. If you are in that position, the idea of starting with a beginning programming course—even an intensive one like CS 106X—seems like a waste of time. Your perception may in fact be correct. In my experience, there are at somewhere between 10 and 15 students in each entering class who should start at a more advanced point in the sequence. For most of you, however, the right place to start is with the CS 106 series. Most high-school computing courses are quite weak and provide very little background in modern software engineering techniques. By taking CS 106, you will learn how the CS department at Stanford approaches programming and get a solid foundation for more advanced work. If you’re unsure where you should start the programming sequence, please talk with me.
Other courses
As computers become more powerful, it is possible to use them for increasingly sophisticated tasks without engaging in programming, at least in a traditional sense. The CS 106 courses teach you about programming, and not about a particular programming language.