You are on page 1of 16

Software Engineering

3(2-1)

Instructor:
Hafiz Muhammad Haroon
Department of Computer Sciences
University of Agriculture, Faisalabad
Sub-Campus Burewala, Vehari-Pakistan
Database Design
• A DB Design is a model of a particular real-world system
• It provides a picture of reality
• Should be simple and self- explanatory

Void main ()
{
int a=10;
cout<<a;
getch();
}
Database Development Process
• Similar to software development process

Preliminary Study

Requirement Analysis

Logical DB Design

Physical Design

Implementation

Maintenance
Design Stages Analyze User Environment

Develop Conceptual Model

Map Conceptual Model to Logical

Choose DBMS

Develop Physical Design

Implement System

Test System

Operational Maintenance
Analyze Existing System
• Objective: To understand the working of
existing system
• Analyze users’ requirements
Data Flow Diagrams
• Represent the flow of data between different
processes within a system

• To describe, what users do,


do rather than what
computers do
DFD-Symbols
• Dataflow

• Data Store
– Repositories of data in system
– Static data
– Data held for processing
DFD-Symbols
• Process
– transforms incoming data flow into outgoing data
flow

OR

1.0 1.0

Process OR Process
DFD-Symbols
External/ Internal Entities
– Sources/destinations for data
– Outside the system
DFD-Symbols
Collector

Separator
DFD-Symbols
• Ring-sum operator
– Shows two possible data flows
– Only one is followed
DFD-Symbols
• AND operator
– Shows two data flows
– Both are followed
Diagram
Class
Requests Old Class Data
1.0 Class
Student Process C
Request Requests Updated Registration
Status Class Data
Updated
2.0 Student 7.0
Produce Produce
Data
Student
Faculty
Schedule
S Student Load
Registration Sheets
5.0 6.0
Produce Produce
Class Class
3.0 4.0
Lists Counts
Create Create
Student Class
Student
File File
Data
Course
Faculty
Registrar Offering member Dean
Re
g is t
ra
tio
STUDENT n
De
ta & COURSE
il

q
1.0 Va

Pre-Re
lid
Edit Form

Course
In- 2.0
Va
lid
Check
Pre-Req

ed
rifi
Ve
RESULT
REGISTRATION
es ult
s R
u
Pr evio
Re
gi s
tra
STUDENT tio nD
et a & COURSE
il
1.0 Va

Pre-
li d
Edit Form

Req
Course
In-V 2.0
al i d Check
Pre-Req

d e
rifi
Ve
RESULT t
e sul REGISTRATION
R
vi ous
Pre

etail
Su
bje
ct

nD
GP 5.0 4.0
t GP

tratio
Update je c Calculate
S ub
Result GP

Regis
Teacher 3.0
Collect Info
lt
Result R es u
Submit Result
Re
g is t r
a tio
STUDENT nD
eta PROGRAM & COURSE
il
1.0 Va

q
li d

Course
Pre-Re
Edit Form
Controller In-Va 2.0
l id Check
Overall Result
Pre-Req
8.0
Registration Detail
Verified
Generate
s R es ul t
Result Pre v i ou
REGISTRATION
ul t
R es

Detai ration
Subject GP 5.0
P 4.0
RESULT Update
j ec t G Calculate
S ub

t
Regis
l
Result GP
3.0
Collect
t In fo
Result
R es ul
G
esult PA
S u b m i t R s
7.0 6.0
Calculate Calculate
CGPA GPA
Subject GP

Teacher GPA

You might also like