Yale Computer Science Department
CPSC 427: Object-Oriented Programming

Michael J. Fischer

Lecture Notes, Fall 2011
 
CS Department CS Courses M. Fischer Home M. Fischer Email
Course Home Page
Syllabus
Handouts
Lecture Notes
Resources
Old Announcements

<< Back

Links to lecture notes:

I will post lecture notes here, time permitting. These should be understood to be in rough form and will not always correspond exactly to what is covered in class. Nevertheless, I hope you will find them useful as a study guide when used in conjunction with your textbook and other course materials.
  1. 1 Sep.: Lecture 1 (.pdf).

  2. 6 Sep.: Lecture 2 (.pdf).

    Demos:
    02-InsertionSortC
    02-InsertionSortCpp
  3. 9 Sep.: Lecture 3 (.pdf).

  4. 13 Sep.: Lecture 4 (.pdf).

  5. 15 Sep.: Lecture 5 (.pdf).

  6. 20 Sep.: Lecture 6 (.pdf).

    Demos:
    PS1 Solution
    06-IOdemo
  7. 22 Sep.: Lecture 7 (.pdf).

    Demo:
    07-IOdemo-new
    07-BarGraph
  8. 27 Sep.: Lecture 8 (.pdf).

  9. 29 Sep.: Lecture 9 (.pdf).

  10. 4 Oct.: Lecture 10 (.pdf).

  11. 6 Oct.: Lecture 11 (.pdf).

  12. 11 Oct.: Lecture 12 (.pdf).

    13 Oct.: Hour exam

  13. 18 Oct.: Lecture 13 (.pdf).

    Demos:
    13-PS2solution
  14. 20 Oct.: Lecture 14 (.pdf).

    Demos:
    14-StopWatch Unix/Darwin version
    14-StopWatch-hirez Hi-resolution (linux)
  15. 25 Oct.: Lecture 15 (.pdf).

    Demos:
    15-Runtime
    15-Hangman
    15-Hangman-full
  16. 27 Oct.: Lecture 16 (.pdf).

    Demos:
    16-Evaluate Infix expression evaluator
  17. 1 Nov.: Lecture 17 (.pdf).

    Demos:
    17-STL
  18. 3 Nov.: Lecture 18 (.pdf).

    Demos:
    18a-Dynamic_cast Testing dynamic cast success/failure
    18b-Virtue Virtual functions in derivation hierarchy
    18c-Virtual Container interface and implementations
  19. 8 Nov.: Lecture 19 (.pdf).

    Demos:
    19a-Exceptions Simple throw/catch
    19b-Exceptions Empty stack exception
    19c-Exceptions Exception class hierarchy
  20. 10 Nov.: Lecture 20 (.pdf).

    Demos:
    20a-Multiple Ordered linear
    20b-Multiple-template Ordered linear with templates
  21. 15 Nov.: Lecture 21 (.pdf).

    Demos:
    21a-Multiple-template Ordered linear with templates, revised
  22. 17 Nov.: Lecture 22, part (a) (.pdf) and part (b) (.pdf).

    Demo:
    22a-Clock Clock gtkmm demo
    22b-Singleton Singleton design pattern
  23. 29 Nov.: Lecture 23 part (a) (.pdf) and part (b) (.pdf)

    Demo:
    23a-Strategy Strategy design pattern
    23b-Factory Factory design pattern

    1 Dec.: Hour exam


Comments about this website should be directed to M. Fischer