8/11/2004: I've archived all of the notes and problem sets and am only leaving up the syllabus for reference. If you're looking for the material, you may be able to find a link to a more recent offering of the class here.
CS51 satisfies the PAC 3 requirement.
The fall 2003 version of CS51 meets three times a week in Andrew 257. The lectures are on Mondays and Wednesdays from 2:45-4:00; the labs are on Monday evenings from 7:00-8:15.
| Week | Monday | Monday lab | Wednesday | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 9/1 | *** no class *** | (wednesday) intro to cs51 <pdf> | (thursday) using emacs, javac <pdf> | ||||||||||||||||||||||||||||||||||||
| 9/8 | variables, assignment, data types <pdf> | cancelled | String data type, methods, constants <pdf> | ||||||||||||||||||||||||||||||||||||
| 9/15 | Math class, implementing methods <pdf> | methods, console input <pdf> | objects, classes, methods <pdf> | ||||||||||||||||||||||||||||||||||||
| 9/22 | objects, classes, methods <pdf> | implementing classes (Pong) <pdf> | selection <pdf> | ||||||||||||||||||||||||||||||||||||
| 9/29 | iteration <pdf> | control structures, designing classes <pdf> | applets & graphics <pdf> | ||||||||||||||||||||||||||||||||||||
| 10/6 | applets & graphics <pdf> | review | *Midterm I* | 10/13 | designing classes | <pdf> debugging | <pdf> static methods/variables, interface | <pdf> 10/20 | *** fall recess ***
| *** fall recess ***
| interfaces, polymorphism | <pdf> 10/27 | inheritance | <pdf> interfaces | <pdf> arrays | <pdf> 11/3 | arrays | <pdf> Lights (inheritance, arrays) | <PS8> recursion | <pdf> 11/10 | recursion | <pdf> recursion | <pdf> recursion | <pdf> 11/17 | exceptions | <pdf> review | *Midterm II* | 11/24 | exceptions, files | <pdf> files, Game of Life | <pdf> work on Game of Life problem set | 12/1 | GUIs, event-driven programming | <pdf> GUIs, Game of Life (cont.) | <pdf> sorting, big-O notation | <pdf> 12/8 | sorting | <pdf> sorting | work on ps12 wrap-up | |