0% found this document useful (0 votes)
16 views

Lecture 05

The document discusses database application development processes. It describes the preliminary study of a system including analyzing existing systems using data flow diagrams. The document outlines the database development process which includes requirement analysis, database design, physical design, implementation, and maintenance. It provides details on different types of data flow diagrams including context diagrams and level 0 diagrams. Various symbols used in data flow diagrams are defined such as processes, data stores, external entities, and data flows.

Uploaded by

saqibjavedsunny
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Lecture 05

The document discusses database application development processes. It describes the preliminary study of a system including analyzing existing systems using data flow diagrams. The document outlines the database development process which includes requirement analysis, database design, physical design, implementation, and maintenance. It provides details on different types of data flow diagrams including context diagrams and level 0 diagrams. Various symbols used in data flow diagrams are defined such as processes, data stores, external entities, and data flows.

Uploaded by

saqibjavedsunny
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 37

Database

Management
Systems

Lecture - 5
© Virtual University of Pakistan
Lecture’s Overview

Database Application
Development Process
Preliminary Study of System

© Virtual University of Pakistan


Database Application
Development Process
Involves
Database Design
Application Programs
Implementation
© Virtual University of 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 © Virtual University of Pakistan
Database
Development
Process
© Virtual University of Pakistan
Database Development
Process
Similar to
Preliminary Study
software
Requirement Analysis
development
DB Design
process
Physical Design

Implementation

Maintenance
© Virtual University of Pakistan
Design Stages
Analyze User Environment

Develop Conceptual Model

Map Conceptual Model to Logical

Choose DBMS

Develop Physical Design

Implement System

Test System

© Virtual University of Pakistan


Operational Maintenance
Analyze Existing
System
Objective: To understand the
working of existing system
Analyze users’ requirements

© Virtual University of Pakistan


Tool Used

Why to use at all?

Data Flow Diagrams


© Virtual University of Pakistan
Data Flow
Diagrams

© Virtual University of Pakistan


Data Flow Diagrams
(DFDs)
 Represent the flow of data
between different processes
within a system
© Virtual University of Pakistan
Data Flow Diagrams
 Simple & intuitive, not focusing on
details
 To describe, what users do,
do
rather than what computers do
© Virtual University of Pakistan
Data Flow Diagrams
 Limitations

 Focus only on flows of information


 Decision points/basis not included

© Virtual University of Pakistan


DFD-Symbols
Dataflows: pipelines through
which packets of information flow.
Arrows are labeled with name of
the data that moves through

© Virtual University of Pakistan


DFD-Symbols
Data Store
Repositories of data in system
Static data
Data held for processing
Name is a noun phrase

© Virtual University of Pakistan


DFD-Symbols
Process
transforms incoming data flow into
outgoing data flow

OR

© Virtual University of Pakistan


DFD-Process
Numbered
Name is verb/object phrase;
Noun for high-level systems
1.0 1.0
Process OR Process
© Virtual University of Pakistan
DFD-Symbols
External Entities
Sources/destinations for data
Outside the system
Name is Noun Phrase

© Virtual University of Pakistan


DFD-Symbols
Collector
Several data flows combine here
No processing occurs here

© Virtual University of Pakistan


DFD-Symbols
Separator
Several data flows split from here
No processing

© Virtual University of Pakistan


DFD-Symbols
Ring-sum operator

Shows two possible data flows


Only one is followed

© Virtual University of Pakistan


DFD-Symbols
AND operator
Shows two data flows
Both are followed

© Virtual University of Pakistan


Types of DFD
Context diagram
Level 0 diagram
Detailed diagram

© Virtual University of Pakistan


Context Diagram
Consists of single
Process/System
Represents the system/process
being analyzed
Name: Usually a Noun phrase
© Virtual University of Pakistan
Context Diagram
Show Context Only
Inputs/outputs
External Entities
No Data Stores
No flows between external entities
© Virtual University of Pakistan
Context Diagram

© Virtual University of Pakistan


Context Diagram
Student
Dean
Cla ts
ss
Re Co un
s
q ue
sts Clas ets
h e
Sch dS
ed l ty L oa
ule cu
Admission Fa

gs
System
eri n Cla
rse Off ss
L
Cou ists
t Data
en
Stud

Faculty
Registrar
Member
© Virtual University of Pakistan
Diagram 0
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
© Virtual University of Pakistan
Dean
That is all for lecture 5, however,
Due to time available discussed
Level 0 diagram in air, to be included
Later inshAllah

© Virtual University of Pakistan


© Virtual University of Pakistan
Student
Dean
Cla ts
ss
Re Co un
s
q ue
sts Clas ets
h e
Sch dS
ed l ty L oa
ule cu
Admission Fa

gs
System
eri n Cla
rse Off ss
L
Cou ists
t Data
en
Stud

Faculty
Registrar
Member

© Virtual University of Pakistan


© Virtual University of Pakistan
Diagram 0
Class
Requests Old Class Data
1.1 Class
Student Process C
Invalid Requests Updated Registration
Request 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
© Virtual University of Pakistan
Dean
Detailed Diagram
Class
C
Registration
s s

Updated Class Data


la
C
ld
Class O ta
Requests 1.1
1.2 Da
Check
Student Edit
Class
Invalid Requests Valid
Counts
Request Requests

Ac qu
Request
Accepted
Re
ce es
Rejected Request

pt t
ed
1.4
Update
1.3 Class
S Student Update Data
Registration Student
© Virtual University of Pakistan
Data
© Virtual University of Pakistan
Overview
Continue discussion on DFD
Discussion on Design Phase
Database Design and Data
Models
© Virtual University of Pakistan
Database
Management
Systems

Lecture - 5
© Virtual University of Pakistan

You might also like