Book 2 Flashcards
1
Q
Identify objects in problem domain
A
- Tangible objects - Physical things
- Roles - Roles played by people
- Business transactions - Activities, episodes and interactions
- Organisational units - Groups to which people belong
2
Q
Glossary
A
- Created at start of project
- Agreed on by everyone
3
Q
Change of behaviour over time in objects
A
- Object can’t change class during its lifetime
4
Q
Class model
A
- Indicates classes in the system
- Describes associations between classes
5
Q
Object model
A
- Collection of objects where every object is an instance of a class in class model
- Snapshot of the system
6
Q
Representing object and class models
A
- Object model represented by object diagram
- Class model represented by class diagram
7
Q
Object diagram
A
- Each object represented by box
- Inside box is name: name of class both underlined
- Can add names and attributes underneath
- Boxes joined by links
8
Q
Class diagram
A
- Consists of boxes and lines
- Can hold up to three things in box unlike object with 2
- Name = class name, attribute, operations
9
Q
Difference between modelling a class or attribute
A
- If conceptual class X can’t be thought of as a number or text its probably a class not an attribute
10
Q
Multiplicities
A
- 1 = exactly 1, same as 1..1
- 3..5 = between 3 and 5, inclusive
- 1..* = 1 or more
- 7,12,365 = 7,12,365 (and no other)
- = Same as 0
- blank = undefined
11
Q
Models
A
- Conceptual Model first
- Then analysis model
- Then design model
12
Q
Agile model goals
A
- Lightness and simplicity take precedence over completeness and complexity
- Models only pursued when of use
- Ease of change and adaptability need to be part of modelling process
13
Q
Naming associations
A
- Place association name in middle of association line
- using role names
- role names allow you to name ends of associations differently
14
Q
Recursive
A
- Association between class and itself
15
Q
With attributes what is effect of moving from conceptual model to analysis model?
A
- Conceptual model records attributes of classes familiar to domain expert
- Analysis model must consider attributes in software sense