Introduction to Computer Science for majors II by James Tam

Return to the course web page

CPSC 233: Winter 2014 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 JT: the hyperlink to the course directory currently not working, getting tech staff to check it out for now type in UNIX  'cd /home/233/tutorials' for now to access the examples)

1

Jan 5 – 11

No tutorials this week

2

Jan 12 – 18

First tutorial (Monday, Tuesday): orientation for CPSC (UNIX, emacs): review of 231 material

Second tutorial (Wednesday, Thursday):

  • Using the electronic submission system

  • Creating and running simple Java programs: compilation and interpretting/running

  • Output

  • Variables

  • Formatting output

3

Jan 19 – 25

  • Programming concepts: branching,  loops, 1D arrays, pre/post operators, introduction to Object-Orientation
  • Debugging: Syntax errors, branches, loops

4

Jan 26 - Feb 1

  • Working from home using SSH

  • Discussion of Mini assignment #2 requirements

  • Introduction to writing Object-Oriented programs, attributes and methods, references and objects, overloading methods

5

Feb 2-8

  • Debugging techniques for dealing with: 1) 'Hanging'/'freezing' programs 2) Runtime errors 4) Writing test drivers

  • Programs with multiple classes (message passing, creating a 'user interface' class)

 

6

Feb 9 – 15

First tutorial:

  • Design exercise: going from requirements to classes

Second tutorial

  • Parameter passing, wrappers, arrays of references

7

Feb 16 – 22

READING WEEK: No tutorials or CT

8

Feb 23 – Mar 1

First tutorial:

  • This this() call in StarShip class, Assignment 2
  • Design exercise: going from requirements & classes to attributes and methods

Second tutorial

  • The static keyword, scoping rules, shadowing

9

Mar 2 – 8

First tutorial:

  • Open tutorial: TA's will be available for help but no new material will be taught. Tutorial acts like extra CT time (you can go for help in any tutorial and not just the one in which you are registered)

Second tutorial

  • Discussion of Assignment 3

10

Mar 9 – 15

  • Discussion of select midterm questions and review material
  • Inheritance
  • Method overridding
  • Inheritance excercise
  • 11

    Mar 16 – 22

    • Casting and inheritance
    • The instanceof operator

    12

    Mar 23 – 29

    First tutorial:

    • Open tutorial: TA's will be available for help but no new material will be taught. Tutorial acts like extra CT time (you can go for help in any tutorial and not just the one in which you are registered)

    Second tutorial

    • Discussion of A4
    • Graphical user interfaces: JFrame,  JButton, JLabel, GridBagLayout/GridBagConstraints, JTextField
    • Changing the visual properties of components: color, font, adding images to components
    • Review: ASCII, casting

    13

    Mar 30 - April 5

    • GUI building exercise
    • File input and output
    • Exceptions

    14

    April 6 – 12

    • Discussion of A5
    • Linked lists
    • Recursion

    15

    April 13 – 18

    • Monday tutorials (classes end on Monday so the last day that the tutorial component and lab component - CT - is Monday)

    • Open tutorial: the TA (Alper - the only TA who has a tutorial on MOnday) will be available for help but no new material will be taught. Tutorial acts like extra CT time (you can go for help in any tutorial and not just the one in which you are registered)