Week 7 Class Diagrams Flashcards

(52 cards)

1
Q

Domain models are ____

solution-independent

platform independent

platform specific

A

solution independent

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

desgin models are ____

solution-independent

platform independent

platform specific

A

platform independent

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

implementation models are ____

solution-independent

platform independent

platform specific

A

platform specific

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

What are domain models

A

solution independent descriptions of a problem domain

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

what are design models

A

platform independent which model different solutions in design (design choices)

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

what are implentation models

A

once you have chose a design, different ways of implenting that design

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

what is the heirarchy of domain models, design models, and implentation models

A

One domain model

Many diff design models which are seperate design choices

For each design model, different ways of implementing

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

What phase and workflow of RUP are class models done in?

A

Phase: Elaboration

Worflow: Requirements

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

What do class diagram show

A

Structure of the system at rest (static)

  • things in the system and how theyre described and inter-related
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are class diagrams used in requirements and analysis to show

A

the problem domain structure

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

what are 2 types of class diagrams

A

domain class diagram

design class diagram

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

What are class diagrams used in design to show

A

solution structure

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

what is a class diagram in design called

A

design class diagram

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

what is a class diagram in requirements modeling and analysis called

A

conceptual model

or

domain model

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

is this a Conceptual (Domain) class or a Design class

A

Conceptual (domain)

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

is this a Conceptual (Domain) class or a Design class

A

Design class

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

what is camelback notation

A

getAttribute()

notice capitalization

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

When do boxes not have a one to many (or something like that) on their associations

A

When it is a Generalization/Specialization, like this

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

on a link between 2 boxes, what is the notation for generalization/specialization

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

what does 0..1 mean

A

Optional 1

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

what does 1..1 mean or just 1

22
Q

what does 0..* mean (same as 0..n or *)

A

Optional many

23
Q

what does 1..* mean (same as 1..n)

A

mandatory many

24
Q

what does this relationship in english mean

A

A course section is for exactly one course

A course has 0 to many course sections

25
what is the application box called?
Association class
26
how is Object oriented inheiritance modeled
With generalization/specialization heiarcy. No multiplicities Arrow w/ closed arrowhead pointing to superclass
27
how is bidirectional association modeled with symbols
solid line w/ no arrowhead
28
how is bidirectional association modeled with multiplicities
mutliplicities on both ends of line
29
how is bidirectional association labeled in a model
with a single verb phrase or two roles names
30
when is an association class needed
if association is many to many AND we need to keep data about the association
31
What is aggregation
Whole-part relationship
32
what object is aggregation modeled with on the diagram
Diamond on the aggregate side of the relationship
33
do aggregations have labels and multiplicities
no labels yes multiplicities are needed (at least on component side, but can be on both)
34
what is composition
strong form of aggregation
35
How many aggregate objects can the component object be a part of
one
36
Does the component object exist if the aggregate object is deleted
no
37
what happens when an aggregate is deleted
all the components must be deleted
38
can the component exist outside of the aggregate
no
39
what is this an example of
composition
40
When turning use case diagrams into a class diagram, when do you turn an actor into a class?
if the sys needs to track info about the actor
41
in class diagrams, can multiple roles(actors) be captured by one class?
yes
42
When turning use case diagrams into a class diagram, when do you turn a direct object in usecase name into a class, what do you look for
43
What are possible classes from this
44
When creating class diagrams, what do verbs in usecase names indicate
Candidate behaviors
45
When creating class diagrams, when do verbs in usecase names not indicate candidate behaviors
the verb is "view" or "get" or associations or values of an attribute or if translated into a noun, a class
46
When creating class diagrams, what can basic flow of events and alternate flows help you determine
clues about attributes and behavior
47
what are some behaviors of classes in this?
48
What do business forms do?
capture info about a business transaction or event
49
should classes have the word "form" in them
no
50
does a business transaction(form) correspond to one or many classes in a class diagram?
one or many
51
If your system generates a report, when does it need a corresponding class?
if you need to store data about the report eg. date, pdf\_file, requester
52