Lab 6 and 7 ITSE
Lab 6 and 7 ITSE
System Modeling
Objective:
To draw a sample Entity Relationship Diagram for a real project or
system.
Draw the Data Flow Diagrams at level 0 and level 1
Software Requirements:
CASE Tools
Rational Rose for ERD
MS Visio or MS Word for DFD
Theory
System analysis model elements:
A wide variety of models have been in use within various engineering disciplines for a long time.
In software engineering a number of modeling methods are also available.
Entity
Relationship
Example:
A company has several departments. Each department has a supervisor and at least one
employee. Employees must be assigned to at least one, but possibly more departments. At least
one employee is assigned to a project, but an employee may be on vacation and not assigned to
any projects. The important data fields are the names of the departments, projects, supervisors
and employees, as well as the supervisor and employee number and a unique project number.
Identify Entities
The entities in this system are Department, Employee, supervisor and Project. One is tempted to
make Company an entity, but it is a false entity because it has only one instance in this problem.
True entities must have more than one instance.
We connect the entities whenever a relationship is shown in the entity relationship Matrix.
Fill in Cardinality
Identify Attributes
The only attributes indicated are the names of the departments, projects, supervisors and
Employees, as well as the supervisor and employee NUMBER and a unique project number.
Map Attributes
Check Results
External entity
Process
Data flow
Control flow
Data store
Example:
Draw a first-level (level 1) data flow diagram for an online shopping website that verify the credit card
details, ship items and maintain customer account.
Exercises
b. Create an ERD and DFD for creating a basic Learning Management System (LMS)
c. Create a DFD for:
i. Student Registration System.
ii. (a + b) * ( c + a * d)