Home
Teaching
 
CS 2510 Sp '10
General
Readings
Syllabus
Assignments
Communication
Blog
Labs
Office Hours
Advice

Syllabus

The table specifies the topics we will cover in each week. Make sure to read the relevant sections of the text for a given week. Read as much as possible before you come to class and lab. Remember, that the daily quizzes may refer not only to the material covered during the lectures, but also to the weekly reading.

The text for the last part of the course will be either in the form of additional reading, lab notes, or lecture notes. You will also learn to read Java documentation and to use Java libraries. At this point you have to take responsibility for your own learning.

A comprehensive list of lectures from earlier semesters can be found here.

A complete list of lectures for Spring 2007 semester can be found here.

Lectures for Fall 2008 semester can be found here.

Current lecture notes (Fall 2009) will be posted as needed on the wiki.

Topic of the Week: Lectures, ReadingDates
1. Designing Programs: Abstractions, Accumulators
  • 1. Design Recipe: Loops, Abstractions, Functions, Accumulator style programs: pp. 430-473 HtDP
1/11
2. Designing Class Hierarchies
  • 2. Data Definitions: Classes of data, Containment, Class diagrams, Unions: 1-36
  • 3. Data Definitions: Containment in unions; Mutual reference: 37-84
1/13, 14
3. Methods for simple classes; Understanding Method Evaluation
  • 4. Functional methods: Computing with primitive types and String; Methods for classes, containment; Conditional computation: 84-116
  • 5. Methods for unions, Dispatch, Design Recipe; 117-145
  • 6 Designing methods; Case Study: the World library. 145-198
1/20, 21, 25
4. Data Abstractions; Data Integrity: State Encapsulation, Preservation;
  • 7. Classes and Methods: Calls; Type checking; Errors. 199-226
  • 8. Similarities in classes. 227-258
  • 9. Designing class hierarchies with methods; How libraries work. State encapsulation, Self-preservation. 258-315
1/27, 28, 2/1
5. Understanding Equality; Data Integrity; Functions as Objects
  • 10. Extensional equality; Abstract classes, Privacy. 315-336
  • 11. Methods as Objects. 572-577
  • 12. Exam 1: In class
2/3, 4, 8
6. Circular Data; Methods for Circular Data; Assignment and Stateful Classes
  • 13. Circular Data. 337-356
  • 14. Methods for circular data. 357-369
  • 15. Assignment and changes in the World; Designing stateful classes and methods. 370-406
2/10, 11, 15
7. Assignment and Stateful Classes; Similarities Between Classes
  • 16. More Stateful Classes, Imperative Methods. 407-464
  • 17. Similarities between plain classes; Subtyping; Types and similarities between class hierarchies; Generics. 465-494
2/16, 17
8. Designing to Interfaces; Exceptions
  • 18. General classes, frameworks, Exceptions 497-524
  • 19. Designing to interfaces: getters, setters, predicates. 525-563
  • 20. Case study: Towers of Hanoi. 545-567
2/24, 25, 3/8
9. Traversals; Visitors; Function Objects
  • 21. Patterns in traversals. 567-602
  • 22. Exam 2: in class
  • 23. Abstracting over method calls; Visitor traversals; Designing visitors. 603-635
3/10, 11, 15
10. Direct Access Data Structures; Loops
  • 24. Traversing with effects. 636-660
  • 25. Direct Access Data Structures: ArrayList
  • 26. Loops: recursive loops, imperative loops, generic loops
3/17, 18, 22
11. Libraries
  • 27. Java Collections Framework: ArrayList, Stack, Queue
  • 28. Java Collections Framework: Map, HashMap, TreeMap; Equality
  • 29. Java Collections Framework: Array
3/24, 25, 29
12. Complexity of Computation
  • 30. Complexity of computation: Searching (linear, binary, map-based)
  • 31. Complexity of computation: Sorting (quadratic, n-log-n); Exponential explosion
  • 32. Code reviews
3/31, 4/1, 5
13. User Interactions
  • 33. Designing synchronous user interactions: coding and decoding.
  • 34. Designing asynchronous user interactions: event handling; GUIs.
  • 35. Review and Summary.
4/7, 8, 12
14. Project Code Walks.
  • 36. Project Code Walks. (Exam 3: in the evening 6:00 - 9:00)
  • 37. Project Code Walks.
  • 38. Project Code Walks.
4/14, 15, 21

last updated on Mon Jan 11 11:20:09 EST 2010generated with PLT Scheme