Professional Documents
Culture Documents
TSRK Prasad
Department of CSE
BITS, Pilani - KK Birla Goa Campus
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
Classical Approaches
Classical Approaches 4 / 25
Identifying Classes and Objects
Classical Approaches
Classical Approaches 4 / 25
Identifying Classes and Objects
Classical Approaches
Ross:
People, Places, Things, Organizations, Concepts, Events
Classical Approaches 4 / 25
Identifying Classes and Objects
Classical Approaches
Ross:
People, Places, Things, Organizations, Concepts, Events
Classical Approaches 4 / 25
Identifying Classes and Objects
Example
Classical Approaches 5 / 25
Identifying Classes and Objects
Example
Classical Approaches 5 / 25
Identifying Classes and Objects
Example
Classical Approaches 5 / 25
Identifying Classes and Objects
Example
Classical Approaches 5 / 25
Identifying Classes and Objects
Example
Classical Approaches 5 / 25
Identifying Classes and Objects
Example
Classical Approaches 5 / 25
Identifying Classes and Objects
Example
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
Structured Analysis
Structured Analysis 7 / 25
Identifying Classes and Objects
Structured Analysis
Structured Analysis 7 / 25
Identifying Classes and Objects
Structured Analysis
Structured Analysis 7 / 25
Identifying Classes and Objects
Structured Analysis
Structured Analysis 7 / 25
Identifying Classes and Objects
Structured Analysis 8 / 25
Identifying Classes and Objects
Structured Analysis 8 / 25
Identifying Classes and Objects
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
nouns ÝÑ objects
nouns ÝÑ objects
verbs ÝÑ operations
nouns ÝÑ objects
verbs ÝÑ operations
Ans:
... If a customer enters a store with the intention of buying a toy
for a child, then advice must be available within a reasonable
time concerning the suitability of the toy for the child. This will
depend on the age range of the child and the attributes of the
toy. If the toy is a dangerous item, then it is unsuitable. ...
On Thinking/Communication
12 / 25
Identifying Classes and Objects
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
Domain Analysis
Domain Analysis 14 / 25
Identifying Classes and Objects
Domain Analysis
Domain Analysis 14 / 25
Identifying Classes and Objects
Domain Analysis
Domain Analysis 14 / 25
Identifying Classes and Objects
Domain Analysis
Domain Analysis 14 / 25
Identifying Classes and Objects
Domain Analysis
Domain Analysis 14 / 25
Identifying Classes and Objects
Hospital Domain
Domain Analysis 15 / 25
Identifying Classes and Objects
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
Two suggestions:
1 Responsibility identification
Responsibility - service provided by object(s) for all
contracts it supports.
Two suggestions:
1 Responsibility identification
Responsibility - service provided by object(s) for all
contracts it supports.
2 Behavior allocation
1 Assign system behavior to parts of the system.
2 Initiators of / participants in behaviors are objects
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
CRC Cards
CRC Cards 20 / 25
Identifying Classes and Objects
CRC Cards
CRC Cards 20 / 25
Identifying Classes and Objects
Lecture Outline
1 Classical Approaches
2 Structured Analysis
4 Domain Analysis
6 CRC Cards
Fair Comparison
24 / 25
Identifying Classes and Objects
Acknowledgements
25 / 25