Session 22 Flashcards
What are the 3 basic principles of object orientation
Abstraction
Hierarchy
Polymorphism
Whats abstraction
Any model that includes the most important, essential, or distinguishing
aspects of something; while suppressing or ignoring less important detail
Whats hierarchy
Any ordering of abstractions into a tree like structure
Whats polymorphism
Many forms
The same named operation may be completed differently for diff objects/classes
What are the strengths of Object Orientation
- A single paradigm
–> across analysis, design, and implementation
–> amongs users, analysts, designers, and implementers - Facilitates software reuse
- Models more closely reflect the real world
What does use case modeling focus on
A diagram that shows a set of use cases and actors and their relationships
What a system does or should do,
NOT how the system delivers those functions
Whats an actor
Anything interacting with the system
Not part of the system
Represents a human, machine, another system
Represents roles, not a person
Whats a use case
Sequences of actions a system performs
Represents interaction of actors with the system –> performed ad initiated by actors
What are three types of organization of use cases
Generalization
Include
Extend
What generalization
Child use case inherits behavior & meaning of parent use case
Solid arrow
Whats include
Useful when you have sub-functions in common
Helps avoid redundancy by letting use cases share sub-functions
The sub-function must be implemented
Whats extend
The extend relationship models optional system behavior
You separate optional behavior from mandatory behavior
What are the steps to developing a use case
- Identify the actors that interact with the system
- Organize actors by identifying roles
- For each actor, consider the behavior that each expects or requires the system to provide
- Name these common behaviors as use cases
- Consider the exceptional ways in which each actor interacts with the system
- Organize use cases by applying include and extend relationships to factor common behavior and distinguish exceptional behavior