Quiz 7 Flashcards

1
Q

An SD describes

A

Only the interactions between objects; it does not describe what happens inside of an object.

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

When an object A creates another object B ___

A

A create dependency exists between A and B

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

What does a dependency relationship represent?

A

A transient relationship between class objects

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

If an object of class A is passed in as a parameter to a method defined in class B

A

A dependency exists between A and B

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

What does a lifeline in an SD represent?

A

An instance of a class

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

What does an alt fragment represent?

A

Alternative interactions

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

What does a par fragment represent?

A

Groups of interactions that can occur in parallel

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

What does an opt fragment represent?

A

A conditional interaction

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

Association

A
  • Link between objects
  • Have at least two ends
  • Must have multiplicities at each end
  • Must have either a name or role names at the ends
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does an object have to do if it sends a synchronous message?

A

Wait for a response

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

Subsystem Design

A
  • describes the internal detail of a design
  • can commence after the subsystem interfaces are defines
  • describes how a subsystem discharges its responsibilities
  • can consist of class diagrams and interaction diagrams that describe the inner workings of the subsystem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What type of modeling are interaction diagrams used for?

A

Dynamic

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

What is illustrated in UML Class diagrams?

A

Classes, interfaces, dependencies, associations

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

Types of interaction diagrams

A

Sequence diagram and communication diagram

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

Communication diagrams work well for:

A
  • UML as a sketch
  • Formal modeling
  • the agile modeling environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

UML Stereotypes

A
  • destroy and create are examples of stereotypes
  • a stereotype represents a refinement of an existing modeling concept
  • a stereotype is defined within a UML profile
  • Object Management Group (OMG) provides many pre-defined stereotypes
17
Q

How do we describe strong composition

A

Aggregation, a solid diamond arrow

18
Q

UML’s formal specification language for constraints

A

Object Constraint Language (OCL)

19
Q

Visibility

A

The ability of one object to have a reference to another object

20
Q

Gang-of-Four (GoF)

A
  • Erich Gamma
  • Richard Helm
  • Ralph Johnson
  • John Vlissides
21
Q

GRASP

A

A methodology for OOD based on responsibility-driven design. Consists of a collection of design patterns

22
Q

What patterns can be applied to minimize the impact of changes to the system?

A

High cohesion, low coupling

23
Q

Two types of Controllers

A

Session Controller and Facade Controller

24
Q
A