CSE 1030 Introduction to Computer Science II, Section M (Lespérance)
Winter 2009
Department of Computer Science and Engineering,
York University
Lecture Slides and Additional Material for Prof. Lespérance's Section
- Week 2 (March 9) Implementing static features:
Example program on parameter passing with primitive types,
example program on parameter passing with object/reference types,
example program on control flow in method calls and the execution stack.
- Week 3 (March 16) Implementing non-static features:
Lecture slides,
Person class example,
CreditCard class example (from Horstmann).
- Week 4 (March 23) Mixing static and non-static features:
Lecture slides.
- Week 5 (March 30) Aggregation:
Lecture slides,
Prof. Roumani's Portfolio example
API and
code.
- Week 6 (April 6) Using Collections and Arrays:
Lecture slides.
- Week 7 & 8 (April 13 & April 20) Inheritance:
Lecture slides;
see also the Firm class
hierarchy example in
Prof. Campeanu's ITEC 1630 page - follow the lectures and week 3
links.
- Week 9 (April 27) GUI:
Lecture slides; see also
example 1, which shows how one uses various types of components
and the flow layout manager,
example 2, which illustrates the use of the border layour manager,
example 3, which illustrates the use of panels to do more complex layouts,
and
example 4, which illustrates drawing various shapes in different colours
(these examples were taken from Prof. Campeanu's ITEC 1630 web page).
- Week 10 & 11 (May 4 & May 11) Recursion:
Lecture slides;
see also the
Sierpinski example (from Prof Cribb) and
Michael Jenkin's Ray Tracing example.
- Week 12 (May 20) More on Algorithm Analysis and Correctness:
Lecture slides.