Professional Documents
Culture Documents
STATIC VIEW
Entity Relationship Diagram
-- Shows the
data relationship
FUNCTIONAL
VIEW
Data Flow Diagram
--Shows the
flow of data
BEHAVIOURAL
VIEW
State Transition Diagram
-- Shows the state
behavior of the system
ENTITY RELATIONSHIP DIAGRAM (ERD)
ERD- It is a detailed logical representation of the data for an organization.
Doctor Patient
CONTD…
2.) Attribute:
Represented by ellipse , is used to qualify properties or characteristics
of entity or relationship.
address etc.
name
age
Student id
address
Student
CONTD…
(i.) Attributes can be simple or complex:
-- Atomic/simple attributes are ones which cannot be decomposed
e.g. age
-- Complex attributes are ones which are composed of other simple or
complex attribute. E.g. Attribute ‘name’ can be composed of
attribute first-name , middle name and last name.
designati
emp-id
on
name
Phone
Employee no.
E.g. Attribute ‘Phone-no.’ can have more than 1 value for its entity
Employee
’.
Contd.
3.) Primary Key is set of attributes that uniquely
identifies instances of entity or relationship.
-- It is represented by underlining the attribute
-- Example , attribute emp-id can be used to
identify different
instances of entity type employee and thus is
the primary key of
entity type employee.
CONTD…
4.) Relationship represented by diagonal, is used to represent
association between zero or more entity type through set of concepts
or attribute .
Prescribes
Medicine
CONTD…
4.1.) Degree of relationship
-- Unary : Also called recursive relationship , relationship
between instances of one entity type
-- Binary : Association between two entities type
-- Ternary: Association between three entities type
Works
Employee
for
CONTD…
B.) Binary relationship
Registered
Student Programme
for
Teacher
Many to many
CONTD…
1 1 M.Tech
Student takes
(One- to- one) course
1 m
Programme registers Student
(One-to many)
m m
Student registers Subject
(Many- to- many) for
4.3.) Role
In the relationship, entity type plays different roles.
Roles are specified by writing the role names on different sides of
relationship as shown :
CONTD…
B.) Binary relationship Category
Teacher
Instructor
4.4.)
A B C
P1 P2
CONTD….
Multiple input data streams and multiple data output streams are
possible.
-- If two adjacently placed inputs are both required then a * is placed
between these.
A
*
B
Avoid over complex DFD ( not more than 6 processes on one page)
Y
x2 P
LEVLES OF DFD (CONTD…)
Levels should be consistent : Guideline
Flows coming into/going out of a circle at one level must
correspond to the flows into/out of an entire figure at the
next lower level which describes the circle.
LEVLES OF DFD (CONTD…)
Data stores at different levels : Guideline
Show store at highest level where it is an interface between circles. Then
show at every level below, which further describes the interface circle.
DS
Level 1
DS
Level 2
Levelled Data Flow Diagram
Entity A Context Entity B
Diagram
Entity A 1 2 Entity B
Registration Rejection
Registration Confirmation Collect Fees
Receipts Accountant
1 Issue Receipts
Fees College
Registrar Registration Application form
Request for Form System Confirmation Registrar
Issue form Rejection
Submit form
Return form for correction
FIRST- LEVEL DFD FOR COLLEGE
REGISTRATION SYSTEM
Issue Receipts Collect Fees
Pay Fees 1.2
Student Accountant
Request Accounting
Issue
for Form Process
Form Issue Receipts
Enquiry
1.1
Update
Registration Record
Enquiry Student Record
Process
Check Student
Status
Application
Submit Form Form
Registration Confirmation 1.3
Registration Rejection Registrar
Registration
Return Form for Correction Process Confirmation
Rejections
2- LEVEL DFD (ONLY REGISTRATION PROCESS – 1.3)
STUDENT RECORD
Authenticate student
Return form
for correction 1.3.1 1.3.2
FORM Form verified VALIDITY
Submit form VERIFICATION CHECKING
PROGRESS PROCESS
Rejection
DATA DICTIONARY
Contains
meaning of flows/stores
| Choice
= Composed of
+ and
() optional
first_name = { legal_character}
middle_name = { legal_character}
last_name = { legal_character}
legal_character = [A-Z| a-z| 0-9| , |…..]