CSE 1030 Introduction to Computer Science II, Section A (Lespérance)
Fall 2009
Department of Computer Science and Engineering,
York University
Lecture Slides and Additional Material for Prof. Lespérance's Section
- Week 2 (Sept. 14) Implementing static features:
Lecture slides,
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 (Sept. 21) Implementing non-static features:
Lecture slides (updated),
Person class example,
CreditCard class example (from Horstmann) (updated).
- Week 4 (Sept. 28) Mixing static and non-static features:
Lecture slides.
- Weeks 5 & 6 (Oct. 5 & 19) Implementing Aggregation and Composition:
Lecture slides.
- Week 7 (Oct. 26) Implementing Inheritance:
Lecture slides.
- Weeks 8 & 9 (Nov. 2 & 9) Implementing Graphical User Interfaces:
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 (Nov. 16) Recursion:
Lecture slides;
see also the
Sierpinski example (from Prof Cribb).
- Week 11 (Nov. 23) Arrays:
Lecture slides.
- Week 12 (Nov. 30) Algorithm Analysis, Searching and Sorting:
Lecture slides.