warning n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
WARNING PowerPoint Presentation
Download Presentation
WARNING

Loading in 2 Seconds...

play fullscreen
1 / 32

WARNING - PowerPoint PPT Presentation


  • 178 Views
  • Uploaded on

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 .

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'WARNING' - jess


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
warning
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.
  • These slides contain a lot of animations. For optimal results, watch in slideshow mode.
slide2

Do this while we wait for the lecture to start

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

slide3

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

wants to date

Woman

slide4

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

wants to date

Woman

slide5

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.

wants to date

wants to date

*

*

*

*

Man

wants to date

Woman

*

*

*

*

wants to date

slide6

wants to date

*

Person

*

Man

Woman

slide7

wants to date

*

Person

WantsToDate

*

Man

Woman

slide8

1

*

Person

WantsToDate

target

requestor

1

*

Man

Woman

slide9

Boil water

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

Boil water

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

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
  • …… … …
slide12

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
  • …… … …
slide13

Boil water

  • Put tea leaves in strainer
  • Add hot water
  • Steep for a while
  • Remove strainer
  • Add milk and sugar
  • 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
  • …… … …
slide14

4

OOP

Abstraction

Encapsulation

Inheritance

Polymorphism

slide15

function

function

Data

Data

function

Data

Data

function

Data

Data

function

Data

function

Data

slide16

function

function

Data

Data

function

Data

Data

function

Data

Data

function

Data

function

Data

slide17

Student

function

function

Data

Data

Course

Data

function

Data

Data

function

Data

Data

function

function

Data

Lecturer

slide18

Student

function

function

Data

Data

slide19

john:

Student

function

function

Data

Data

cs2103: Course

damith: Lecturer

slide20

john:

Student

slide21

Student

NgStudent

PgStudent

UgStudent

slide22

{abstract}

Student

NgStudent

PgStudent

UgStudent

slide23

<<interface>>

Student

NgStudent

PgStudent

UgStudent

slide24

:Lecturer

:NgStudent

:PgStudent

:UgStudent

study()

foo()

study()

bar ()

study()

goo ()

slide25

:Lecturer

:NgStudent

:PgStudent

:UgStudent

study()

foo()

study()

bar ()

study()

goo ()

slide26

:Lecturer

:NgStudent

:PgStudent

:UgStudent

study()

foo()

study()

bar ()

study()

goo ()

slide27

:Lecturer

:Student

:NgStudent

:PgStudent

:UgStudent

slide28

L1-L6

  • Basic SE knowledge [up to B+]
  • Theory covered
  •  Practice in project  internalize

L7-L12

  • Intermediate SE knowledge [A- to A+]
  • Today
    • Better design
    • Better code
    • Better documentation
slide29

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

slide30

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

slide31

Advanced user

Novice user