Introduction to Computer Science for majors II by James Tam Return to the course web page

CPSC 233: Winter 2012 Tutorial Schedule

Week No.

Days

Topics to be covered (example programs provided by the course instructor can be found in UNIX under: /home/233/tutorials)

1 Jan 8 – 14
No tutorials this week

2

Jan 15 – 21
  • Assignment submission process
  • Description of A1
  • Creating java programs: input and output
  • Branching and looping

3

Jan 22 – 28
  • Debugging tips
  • Review: testing branches and loops
  • Introduction to Object-Oriented programs in Java

4

Jan 29 – Feb 4
  • Description of A2
  • UML
  • More testing, writing test drivers
  • Benefits of information hiding
  • Method overloading
  • Scoping rules

5

Feb 5 – 11
  • Description of A3
  • Decoupling: a dice game program that delegates the different aspects of the game to the appropriate class (GameInterface or Dice).
  • Shadowing example
  • Arrays of composite types (Strings)
  • Arrays of objects
  • Review: recursion

6

Feb 12 – 18 First tutorial (Mon, Tue):
  • Documenting classes
Second tutorial (Wed, Thur):
  • Open tutorial: TA will be available for help and to answer questions but no new material will be taught.

7

Feb 19 – 25
Reading Week: No tutorials
8 Feb 26 – Mar 3
  • Description of A4
  • Design exercise: going from requirements to finding the candidate classes, attributes and methods
  • Implementing a debug mode: static classes
9 Mar 4 – 10 
  • Open tutorials: TA will be available for help and to answer questions but no new material will be taught this week.
10 Mar 11 – 17
  • Discussion of A5
  • Solutions to select midterm questions
  • Design exercise: inheritance
11 Mar 18 – 24
  • Inheritance examples: casting, overriding/polymorphism, instanceof operator
12 Mar 28 – 31
  • Open tutorials: TA will be available for help and to answer questions but no new material will be taught this week.
13 April 1 – 7
  • Discussion of A6
  • Tracing of programs employing exceptions
  • GUI examples: writing code for common events
14 April 8 - 14
  • Open tutorials: TA will be available for help and to answer questions but no new material will be taught this week.