Ch. 5 Structural Flashcards

1
Q

What does a functional model represent?

A

System behavior

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

What does a structural model represent?

A

System objects and their relationships
- things, ideas, or concepts
- used to create vocabulary that can be used by the analyst and the users

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

What are CRC Cards?

A

Index cards used to document the responsibilities and collaboration of a class

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

What is the main goal of structural models?

A

To discover the key data contained in the problem domain and to build a structural model of the objects

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

What is a generalization relationship?

A
  • Enables inheritance of attributes
  • Represents relationships that are “a-kind-of”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an aggregation relationship?

A
  • Relates parts to wholes or assemblies
  • Represents relationships that are “a-part-of” or “has-parts”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an association relationship?

A
  • Miscellaneous relationships between classes
  • Usually a weaker form of aggregation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are ways to identify objects for use cases?

A
  • Textual analysis of use-case information
  • Brainstorming
  • Common object list
  • Patterns
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are public attributes?

A

Visible to all classes
(+)

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

What are private attributes?

A

Visible only to an instance of the class in which they are defined
(-)

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

What are protected attributes?

A

Visible only to an instance of the class in which they are defined and its descendants
(#)

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

What is a class diagram?

A

A static model that shows classes and their relationships to one another

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

What is an attribute of the analysis class?

A

It represents a piece of information that is relevant to the description of the class within the application domain of the problem being investigated

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

What is the operation of the analysis class?

A

It is the behavior
- in later phases, the operations are convereted to methods

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

What are responsibilities of a class (CRC)?

A
  • Knowing responsibilities are those things that an instance of a class must be capable of knowing
  • Doing responsibilities are those things that an instance of a class must be capable of doing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are collaborations (CRC)?

A

Allow the analyst to think in terms of clients, servers, and contracts