Chapter 12 - Modelling Requirements Flashcards
What are Use Case diagrams?
Represent what the business or IT system need to provide
How are Actors represented in Use Case diagrams?
Matchstick figures or rectangles
How are Use Case represented in a diagram?
Oval with ‘Verb Noun’ naming convention
How is the system boundary represented in a Use Case diagram?
Large box drawn around all Use Cases
How are Associations represented on a Use Case diagram?
Lines drawn between Actors and Use Cases
How are other systems represented on a Use Case diagram?
Rectangle with <> before name of the system
How can a Use Case that is shared by multiple processes be represented?
<> on dotted line with arrowhead pointing towards the included Use Case
How is a Use Case that is not mandatory for the current iteration shown on a Use Case diagram?
<> with dotted line arrowhead pointing back to original Use Case
What is data modelling concerned with?
Data items (attributes) that system needs to keep
Grouping attributes (into entities)
Relationship between entities
What is an entity?
Something the company wishes to collect and store data about
Give examples of physical entities
Order
Customer
Supplier
Give examples of Conceptual entities?
a Booking
an Appointment
Give examples of Active entities
Meeting
Course
How are entities represented on a diagram?
Box with a noun, always singular
What is the difference between entity type and entity occurrence?
If entity type is Book, entity occurrence is a specific instance of a Book, such as Death on the Nile
What are attributes?
Attributes describe entities
Eg Book may have attributes for Title, Author, Publisher, Price
How are attributes represented on a diagram?
They aren’t.
They are usually defined in supporting documentation
What is a Relationship?
Relevant business connection between two entities
How are relationships represented on a data model?
Line linking associated entities
What types of relation are there in a data model?
One to many 1:m
One to one 1:1
Many to many m:m
How are one to many relationships represented on a data model?
Crow’s foot and solid line
Give an example of one to many relationship between two entities
Order and Customer
A particular order will only be placed by one customer, but a customer may place many orders
How are one to one entity relationships represented on a data model?
Solid line
Give an example of a one to one relationship
Country and Capital
A country has one Capital and a city is Capital of just one country.