Welcome to CS21. This course will introduce fundamental ideas in computer science while also teaching you how to write computer programs. We will study algorithms for solving problems and implement solutions in the Python programming language. Python is an interpreted language that is known for its ease of use. We also introduce object-oriented programming and data structures. A deeper coverage of these topics will be presented in CS 35.
This course is appropriate for all students who want to learn how to write computer programs and think like computer scientists. It is the usual first course for computer science majors and minors. Students with advanced placement credit or extensive programming experience should place out of this course and instead begin with CS31 or CS35.
See the Schedule
for each week's reading assignment. We will primarily be using the online book
How to think like a computer scientist: Learning with Python by Elkner, Downey and Meyers.
Here are a few other useful online python resources:
By the end of the course, we hope that you will have developed the following skills:
| WEEK | DAY | ANNOUNCEMENTS | TOPIC & READING | LABS |
| 1 | Aug 31 | Introduction to Python and Unix
| In class: M W F | |
Sep 02 | ||||
Sep 04 | ||||
| 2 | Sep 07 | Writing simple programs
| In class: M W F | |
Sep 09 | ||||
Sep 11 | Drop/add ends | |||
| 3 | Sep 14 | Conditionals
| In class: M W F | |
Sep 16 | ||||
Sep 18 | Quiz 1 | |||
| 4 | Sep 21 | First functions,
| In class: M W F | |
Sep 23 | ||||
Sep 25 | ||||
| 5 | Sep 28 | Graphics, Using Objects
| In class: M W F | |
Sep 30 | ||||
Oct 02 | Quiz 2 | |||
| 6 | Oct 05 | Fruitful Functions
| In class: M W F | |
Oct 07 | ||||
Oct 09 | ||||
Oct 12 | Fall Break | |||
Oct 14 | ||||
Oct 16 | ||||
| 7 | Oct 19 | File IO, Top-Down Design
| In class: M W F | |
Oct 21 | ||||
Oct 23 | Quiz 3 | |||
| 8 | Oct 26 | Searching
| In class: M W F | |
Oct 28 | ||||
Oct 30 | ||||
| 9 | Nov 02 | Sorting
| In class: M W F | |
Nov 04 | ||||
Nov 06 | CR/NC/W Deadline Quiz 4 | |||
| 10 | Nov 09 | Recursion
| In class: M W F | |
Nov 11 | ||||
Nov 13 | ||||
| 11 | Nov 16 | Classes and Objects
| In class: M W F | |
Nov 18 | ||||
Nov 20 | Quiz 5 | |||
| 12 | Nov 23 | Classes and Objects
| In class: M W | |
Nov 25 | ||||
Nov 27 | Thanksgiving | |||
| 13 | Nov 30 | Linked Lists
| In class: M W F | |
Dec 02 | ||||
Dec 04 | Quiz 6 | |||
| 14 | Dec 07 | Wrap up | In class: M | |
Dec 11 | Final: 7-10pm Science Center 101 | |||