Professional Documents
Culture Documents
Learning Outcomes
By the end of this lecture, YOU should be
able:
to identify the framework of activities
associated with methodologies and describe
how the techniques are used together to
develop a system
Introduction
Data model
What data does the system need to store?
What is the most efficient way of organizing
it?
Techniques
entity-relationship modelling
normalization (later modules)
Primary Key
Foreign Key
Relationship
degree of relationship
one to one
one to many
many to many
multiplicity
cardinality
Terminologies
Entity (also known as file or table)
an object about which the system need to
store data, such as Customer or Product
Attributes of an entity (column names)
data items or elements that make up that entity
E.g. customerName, customerAddress those
significant to the system
Terminologies
Primary Key (identification key)
of an entity is an attribute or a set of
attributes whose values uniquely
identify one occurrence of that entity
Entity primary keys are underlined as
shown here:
E.g. Customer (customer#, initial,
surname, customerAddress,
customerPhone)
CT026-3-1 Systems Analysis and Design
Terminologies
Foreign key (connectivity between tables)
an attribute in one entity which is the
primary key of another entity
acts as a link or navigation route
between related entities
Terminologies
Relationship (type of link)
a link between two entities which is
significant for the system
E.g. customer places an order
places describes a relationship between
Customer and an order
Terminologies
Degree of relationship (between
entities/tables)
can be
one to one
one to many
many to many
Figure 2: Variation 2 Information Engineering notation from Oracle Designer/ 2000 CASE
CT026-3-1 Systems Analysis and Design
Chen Notation
Entity
Multivalued
attribute
Weak Entity
Derived
attribute
Attribute
Relationships
Cardinality
Key attribute
Weak
Relationships
Recursive
Relationship
Event Modelling
To obtain a view of events in a system and the way in
which entities respond to external events
Techniques
Entity Life Histories SSADM
State Diagrams real-time systems
State chart / State transition diagrams
Definitions
Entity
a data object of interest that has been identified in the entityrelationship model
Event
something that happens in the real world which causes an entity
or more than one entity to be updated.
Customer
Customer
places
order
Customer
life
Change *
in customer
details
Deletion
of customer
Order
delivered
Order
cancelled
ELH Diagram
Sequence
First event 1, then event 2, then event 3
Entity X
Event 1
Event 2
Event 3
ELH Diagram
Repetition
Event 2 can take place 0 or more times
Entity X
Event 1
Event 3
Event 2
ELH Diagram
Selection
Either event 2 or event 3 will take place
Entity X
Event 1
Event 4
Event 2
Event 3
ELH Diagram
Optionality
Event 2 may or may not take place
Entity X
Event 1
Event 3
Event 2
---------
Do nothing box
ELH Diagram
No restriction on ordering
Event 1 and event 2 can take place in any order
Double line
Entity X
Event 1
Figure 7.6 The double line indicates that there is no restriction on the ordering of events 1 and 2
Referenced from Software Systems Development A Gentle Introduction Britton & Doake
CT026-3-1 Systems Analysis and Design
Q&A
CT026-3-1 Systems Analysis and Design
Next Session
Introduction to OO Concepts
Introduction
Object-oriented concepts
Object
Class
Class Relationships
Message
Encapsulation
Inheritance