Presentation is loading. Please wait.

Presentation is loading. Please wait.

WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010.

Similar presentations


Presentation on theme: "WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010."— Presentation transcript:

1 WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010. They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here.here These slides contain a lot of animations. For optimal results, watch in slideshow mode.

2 Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man Woman Do this while we wait for the lecture to start

3 Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man Woman wants to date

4 Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man Woman wants to date

5 Assume we are building an online dating app. It allows users to indicate which other users they want to date. Complete the following partial class diagram to show the ‘wants to date’ associations. Man Woman wants to date * * * * ** * *

6 Man Woman wants to date * * Person

7 Man Woman wants to date * * Person WantsToDate

8 Man Woman Person WantsToDate 1 1 * * requestor target

9 Boil water Put tea leaves in strainer Add hot water Steep for a while Remove strainer Add milk and sugar

10 Boil water Put tea leaves in strainer Add hot water Steep for a while Remove strainer Add milk and sugar

11 Boil water Put tea leaves in strainer Add hot water Steep for a while Remove strainer Add milk and sugar Serve tea Clean table Toast bread Cut bread Accept payment Give change Issue receipt Wash utensils Pay bills Order supplies …… … …

12 Boil water Put tea leaves in strainer Add hot water Steep for a while Remove strainer Add milk and sugar Serve tea Clean table Toast bread Cut bread Accept payment Give change Issue receipt Wash utensils Pay bills Order supplies …… … …

13 1 chef 2 waiters 1 cashier 1 part time accountant 1 manager 1 cash register 1 stove Serve tea Clean table Toast bread Cut bread Accept payment Give change Issue receipt Wash utensils Pay bills Order supplies …… … … Boil water Put tea leaves in strainer Add hot water Steep for a while Remove strainer Add milk and sugar

14 1 chef 2 waiters 1 cashier 1 part time accountant 1 manager 1 cash register 1 stove

15 OOP 4 Abstraction Encapsulation Inheritance Polymorphism

16 Data function

17 Data function

18 Data function Data function Student Course Lecturer

19 Data function Data Student

20 Data function Data Student cs2103: Course damith: Lecturer john:

21 Student john:

22 Student NgStudent PgStudent UgStudent

23 {abstract} Student NgStudent PgStudent UgStudent

24 > Student NgStudent PgStudent UgStudent

25 :NgStudent :PgStudent :UgStudent :Lecturer study() foo() bar () goo ()

26 :NgStudent :PgStudent :UgStudent :Lecturer study() foo() bar () goo ()

27 :NgStudent :PgStudent :UgStudent :Lecturer study() foo() bar () goo ()

28 :Student :NgStudent :PgStudent :UgStudent :Lecturer

29 Basic SE knowledge [up to B+] Theory covered  Practice in project  internalize L1-L6 L7-L12 Intermediate SE knowledge [A- to A+] Today Better design Better code Better documentation

30 Image credit: http://uxmag.com/articles/the-dirtiest-word-in-ux-complexity

31

32 Advanced user Novice user

33

34


Download ppt "WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010."

Similar presentations


Ads by Google