Chapter 12 - Modelling Requirements Flashcards

1
Q

What are Use Case diagrams?

A

Represent what the business or IT system need to provide

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

How are Actors represented in Use Case diagrams?

A

Matchstick figures or rectangles

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

How are Use Case represented in a diagram?

A

Oval with ‘Verb Noun’ naming convention

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

How is the system boundary represented in a Use Case diagram?

A

Large box drawn around all Use Cases

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

How are Associations represented on a Use Case diagram?

A

Lines drawn between Actors and Use Cases

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

How are other systems represented on a Use Case diagram?

A

Rectangle with <> before name of the system

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

How can a Use Case that is shared by multiple processes be represented?

A

<> on dotted line with arrowhead pointing towards the included Use Case

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

How is a Use Case that is not mandatory for the current iteration shown on a Use Case diagram?

A

<> with dotted line arrowhead pointing back to original Use Case

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

What is data modelling concerned with?

A

Data items (attributes) that system needs to keep

Grouping attributes (into entities)

Relationship between entities

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

What is an entity?

A

Something the company wishes to collect and store data about

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

Give examples of physical entities

A

Order

Customer

Supplier

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

Give examples of Conceptual entities?

A

a Booking

an Appointment

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

Give examples of Active entities

A

Meeting

Course

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

How are entities represented on a diagram?

A

Box with a noun, always singular

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

What is the difference between entity type and entity occurrence?

A

If entity type is Book, entity occurrence is a specific instance of a Book, such as Death on the Nile

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

What are attributes?

A

Attributes describe entities

Eg Book may have attributes for Title, Author, Publisher, Price

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

How are attributes represented on a diagram?

A

They aren’t.

They are usually defined in supporting documentation

18
Q

What is a Relationship?

A

Relevant business connection between two entities

19
Q

How are relationships represented on a data model?

A

Line linking associated entities

20
Q

What types of relation are there in a data model?

A

One to many 1:m

One to one 1:1

Many to many m:m

21
Q

How are one to many relationships represented on a data model?

A

Crow’s foot and solid line

22
Q

Give an example of one to many relationship between two entities

A

Order and Customer

A particular order will only be placed by one customer, but a customer may place many orders

23
Q

How are one to one entity relationships represented on a data model?

A

Solid line

24
Q

Give an example of a one to one relationship

A

Country and Capital

A country has one Capital and a city is Capital of just one country.

25
Q

What is optionality in data models?

A

The optionality of the relationship describes whether or not the entities at both ends must always coexist of whether one can exist without the other.

26
Q

How are fully mandatory relationships shown on a data model?

A

Solid lines

27
Q

How are fully optional relationships shown on a data model?

A

Dotted lines

28
Q

How are mandatory parent entities with optional child entities shown on a data model?

A

Dotted line from parent to solid crow’s foot attached to child

Eg Customer may not have placed any orders, but an order must always be placed by a customer

29
Q

How are optional parent entity with mandatory child entity shown in a data model?

A

Solid line from parent to dotted line crow’s foot attached to child

Eg An order does not need to be related to a Complaint, but any Complaints must concern at least one order

30
Q

How are many to many relationships resolved?

A

By adding a link entity to split them into two one to many relationships

31
Q

What are the problems with many to many relationships?

A

Mask omitted entities

Data Base Management Systems do not often support them

32
Q

How is the nature of the relationship between two entities clarified?

A

A relationship link phrase is constructed from the perspective of each entity

33
Q

What is an exclusive relationship in a data model?

A

Participation of an entity occurrence precludes it from participating in another.

34
Q

How is exclusivity represented in a data model?

A

Exclusivity arc

Example:

An Employee must be allocated to one Sales region or one Office

35
Q

What are alternative notation methods for data models?

A

Horizontal lines to indicate ‘one’

Circles to indicate optionality

36
Q

What are Objects?

A

An object is something we wish to hold data about

Eg Order Number VF1234

37
Q

What are Classes?

A

Classes provide the generic definition of the data items / attributes and objects.

Order VF1234 is an object of the class Order.

The class Order Account has attributes such as orderNumber and totalValue

38
Q

How are Classes represented in UML?

A

Rectangular boxes with three sections:

Name of the class (noun)

Attributes (lower case)

Operations

39
Q

What are Associations in class modelling?

A

Connections between classes

40
Q

What is Multuplicity?

A

Shows the business rules for association between classes through the minimum and maximum values in the association

41
Q

How are Generalised attributes shown?

A

Upward facing arrow indicating sub-classes inherit the attributes of the generalised class.