22 November 2015

Week 16

Attendance (w16-1)

Slides (w16-1)

Class diagram

A2 Report
(due: Friday 27/12/15)

A2 Video Demo
- 10 minutes max
- features (what it can do)
- extra features
- try to sell it
upload to youtube and post link on your blog
(due: Saturday 5/12/15)

Lab: show your A2 progress


Attendance (w16-2)

Slides (w16-2)

15 November 2015

Week 15

Attendance (w15-1)

Slides (w15-1)

Inheritance
  Person/Student/Employee
  Array of Person/Student/Employee
  One function to calculate BMI

Recursive function


    Using Euclid's algorithm to find gcd
    then use it to find least common multiple (LCM) for adding Fraction
    https://en.wikipedia.org/wiki/Greatest_common_divisor

Lab - try the above in Python and Java


Attendance (w15-2)

Slides (w15-2)

8 November 2015

Week 14

Attendance (w14-1)

Class for (high school) mathematics
   Complex, Fraction, Vector

Immutable object

Method overloading (Java)
Default argument/parameter (Python)

Class reuse

To implement and test them (use assert) in lab

Attendance (w14-2)

Slides (w14-2)

1 November 2015

Week 13

Attendance (w13-1)

Slides (w13-1)

Lab 8


Attendance (w13-2)

Slides (w13-2)

25 October 2015

Week 12

Attendance (w12-1)

Slides (w12-1)

Lab 7


A1 Bitbucket URL
e.g. https://bitbucket.org/spn/a1-2558
Please make sure it is public (viewable by anyone)


Attendance (w12-2)

Slides (w12-2)



18 October 2015

Week 11

Attendance (w11-1)

Slides (w11-1)

Lab 6