Session 22 Flashcards

1
Q

What are the 3 basic principles of object orientation

A

Abstraction
Hierarchy
Polymorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Whats abstraction

A

Any model that includes the most important, essential, or distinguishing
aspects of something; while suppressing or ignoring less important detail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Whats hierarchy

A

Any ordering of abstractions into a tree like structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Whats polymorphism

A

Many forms
The same named operation may be completed differently for diff objects/classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the strengths of Object Orientation

A
  • A single paradigm
    –> across analysis, design, and implementation
    –> amongs users, analysts, designers, and implementers
  • Facilitates software reuse
  • Models more closely reflect the real world
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does use case modeling focus on

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Whats an actor

A

Anything interacting with the system
Not part of the system
Represents a human, machine, another system
Represents roles, not a person

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Whats a use case

A

Sequences of actions a system performs
Represents interaction of actors with the system –> performed ad initiated by actors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are three types of organization of use cases

A

Generalization
Include
Extend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What generalization

A

Child use case inherits behavior & meaning of parent use case
Solid arrow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Whats include

A

Useful when you have sub-functions in common
Helps avoid redundancy by letting use cases share sub-functions
The sub-function must be implemented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Whats extend

A

The extend relationship models optional system behavior
You separate optional behavior from mandatory behavior

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the steps to developing a use case

A
  1. Identify the actors that interact with the system
  2. Organize actors by identifying roles
  3. For each actor, consider the behavior that each expects or requires the system to provide
  4. Name these common behaviors as use cases
  5. Consider the exceptional ways in which each actor interacts with the system
  6. Organize use cases by applying include and extend relationships to factor common behavior and distinguish exceptional behavior
How well did you know this?
1
Not at all
2
3
4
5
Perfectly