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)
22 November 2015
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
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
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)
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
29 October 2015
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)
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
4 October 2015
27 September 2015
Week 8
Lab 5 final version
Bitbucket quick intro (v.2)
for A1 submission
- commit your current version today
- update regularly (daily?)
Attendance (w8-2)
Slides (w8-2)
20 September 2015
13 September 2015
Week 6
Attendance (w6-1)
Slides (w6-1)
Lab 4x Hello Python
- try using online python editor and write programs for generic exercises
- visualize code execution
Attendance (w6-2)
Slides (w6-2)
Slides (w6-1)
Lab 4x Hello Python
- try using online python editor and write programs for generic exercises
- visualize code execution
Attendance (w6-2)
Slides (w6-2)
8 September 2015
Monthly Loan Payment
From this example, monthly payment is $444.24 (not $500)
To calculate use this formula
6 September 2015
Pseudocode example
The following pseudocode determines whether a year is a leap year
if (year is not exactly divisible by 4) then (it is a common year)
else if (year is not exactly divisible by 100) then (it is a leap year)
else if (year is not exactly divisible by 400) then (it is a common year)
else (it is a leap year)
https://en.wikipedia.org/wiki/Leap_year
if (year is not exactly divisible by 4) then (it is a common year)
else if (year is not exactly divisible by 100) then (it is a leap year)
else if (year is not exactly divisible by 400) then (it is a common year)
else (it is a leap year)
https://en.wikipedia.org/wiki/Leap_year
30 August 2015
23 August 2015
Week3
Attendance (w3-1)
Slides (w3-1) some error (function name, area( ) )
Lab 2
Attendance (w3-2)
Slides (w3-2)
Slides (w3-1) some error (function name, area( ) )
Lab 2
Attendance (w3-2)
Slides (w3-2)
16 August 2015
4 August 2015
Welcome to Com Pro Fun 2558
Computer programming is fun : )
Coming soon
----------------
W1-1
Attendance (w1-1)
Syllabus
Slides (w1-1)
Lab0
For first year students only: lab0-list
----------------
W1-2
Attendance (w1-2)
Subscribe to:
Comments (Atom)
