32
Sumber: www.yourdon.com Edited by: Yudi Priyadi Konsep Data Flow Diagram IPO: Input →Process → Output Data→ Process → Information Data flow diagram is a graphical technique that depicts information flow and the transforms that are applied as data moves from input to output. Characteristics of DFD Graphic Partitioned Hierarchic Multidimensional Emphasize flow of data Viewpoint of data and process

Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

  • Upload
    vungoc

  • View
    217

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Konsep Data Flow Diagram

IPO: Input →Process → Output

Data→ Process → Information

Data flow diagram is a graphical technique that depicts

information flow and the transforms that are applied as

data moves from input to output.

Characteristics of DFD Graphic

Partitioned

Hierarchic

Multidimensional

Emphasize flow of data

Viewpoint of data and process

Page 2: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

The Symbols

DFDs use four basic symbols that

represent processes, data flows, data

stores, and entities•Gane and Sarson symbol set

•Yourdon symbol set

Page 3: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Symbols for DFD

Data store

Process

name

External

Interactor

External Entity:

Source or destination of data

Process:

Action on data

Data Store:

Storage of data

Data Flow:

Data Transfer

Yourdon notation (sumber: www.yourdon.com)

Page 4: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Context Diagrams

A context diagram is a top level (also known as Level 0) data flow diagram.

It only contains one process node (process 0) that generalizes the function of the entire system in relationship to external entities.

Page 5: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Creating a Set of DFDs

Create a graphical model of the

information system based on your

fact-finding results

Performing three main tasks

Step 1: Draw a context diagram

Step 2: Draw a DFD level 1

Step 3: Draw the lower-level diagrams

Page 6: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Draw a Context Diagram

Drawing Guidelines1. Draw the context diagram so it fits on one

page

2. Use the name of the information system as

the process name in the context diagram

3. Use unique names within each set of symbols

4. Do not cross lines

5. Provide a unique name and reference

number for each process

6. Obtain user input and feedback

Page 7: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

External Entity

External entity represents the sources and

destination of data created by the system.

External entity represents the immediate interface

of the system with the external world.

When an external source of data is also a

destination for data, a loop or occurrence number

may be used.

In case the destination or use of data created by

the process are not known, the flow simply points

outside the system. Similarly, data flows may

originate from “nowhere”.

Page 8: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Process Boxes

Each processes box in a DFD describes an action

on data.

The Identifier. A number indicating the sequence

of the process.

The Action. A verb specifying the action on

which it is performed on the data.

The Actor or Place. A noun indicating who

performs the action or where it is performed.

Page 9: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Data Flow Arrows

Data flow arrows link all the process boxes and

data stores in DFDs.

Data flows should be labeled, except in case the

data flows into and out of simple files.

DFDs show only the flow of data, not materials.

A DFD depicts information flow without explicit

representation of procedural logic (e.g.,

conditions or loops).

Page 10: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Data Store Rectangles

Data stores can be manual files or computer files.

The type of file is not indicated.

Only in case the data store is altered the flow is

not indicated. A simple access is not indicated.

A data store is never the direct recipient of

unprocessed data from external sources or from

other data stores nor is data from a data store

ever directly delivered to an external sources.

There must be a process step in between.

Page 11: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Examples of Data Stores

Read

Write

Read/

Write

A data item is created

or deleted or updated in the

data store by

a process

Page 12: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Rules for Constructing DFD

Page 13: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

DFD Not Allowed Flows

Page 14: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

DFD Not Allowed Flows

If part of our system

If not part of our flow ignore

Page 15: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Data Flows

Only one direction of flow between

processes

Page 16: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Data Flows

Joins & forks allowed only if exactly the

same data

Page 17: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Data Flows

Cannot go directly back to the process it

leaves

Page 18: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Data Flows

Data which moves together should be

shown in a single data flow

itemised calls

invoice

invoicepayment

itemised callsAnd invoice

Pay

Invoice

Telephone

Company

Pay

Invoice

Telephone

Company

invoicepayment

Page 19: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

DFD Rules

Incorrect Correct

Page 20: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

DFD Rules

Incorrect

Correct

Page 21: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

DFD Rules

Incorrect Correct

Page 22: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Level 0 CD

Origin #1

Destination 2

0

System

a

b

c

z

r

Destination 1

Origin #2

Keterangan:

a: .........

b:...........

c:.......... dst

Page 23: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Level 1 DFD

1

a

b

c

z

r

2

3

4

5

d

e

f

g h

i

Origin #1

Origin #2

Destination 1

Destination 2

n

p

dtstore1

dtstore2

Page 24: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Level 2 DFD

c

f

2.1 2.2

2.3

Origin #2

m

k

j

dtstore3

4

Page 25: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Balancing

The conservation of input and output flows

through different levels

A

B

C

A

B

C

D

E

Page 26: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Example of Context Diagram(Let’s check with the rules together ^^ ... Wrong? Right?)

Page 27: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Example of DFD Level 1(Let’s check with the rules together ^^ ... Wrong? Right?)

Page 28: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Example

Level 2 DFD from the monitor sensors process

Page 29: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi

Example

A balanced DFD Fragment

source: www.yourdon.com

Page 30: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi30

© 2010 Bennett, McRobb and Farmer

Context Diagram(Let’s check with the rules together ^^ ... Wrong? Right?)

Agate

Campaign

Management

System

Campaign

Manager

Client

Budget

Campaign

Staff

Campaign

Advert

Staff Assignment

Accountant

Concept Note

StaffConcept Note

Staff

Staff Grade

Staff

Contact

Payment

Advert Completion

Client Contact

Page 31: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi31

© 2010 Bennett, McRobb and Farmer

Top Level Diagram (Level 1)(Let’s check with the rules together ^^ ... Wrong? Right?)

1.

Record

Clients

Campaign

Manager

Client

Staff Assignment

Campaign

Staff

Campaign

Advert

Accountant

Concept Note

Staff

Concept

Note

Staff

Staff Grade

Staff

Contact

Payment

Advert Completion

Client Contact

3.

Prepare

Adverts

Notes

6.

Browse

Concept

Notes

Concept

Note

Concept Note

4.

Maintain

Staff

5.

Manage

Adverts

Adverts

Advert

Contact

+ Completion Date

Clients

Client

2.

Plan and

Manage

Campaigns

Staff Members

Staff

Budget

Cost

Concept

Note

Campaigns

Campaign

Staff

Staff

Page 32: Konsep Data Flow Diagramwhyphi.staff.telkomuniversity.ac.id/files/2015/08/DFD-yudi-priya.pdf · Level 2 DFD c f 2.1 2.2 2.3 Origin #2 m k j dtstore3 4. Sumber:

Sumber: www.yourdon.com Edited by: Yudi Priyadi32

© 2010 Bennett, McRobb and Farmer

Level 2 Diagram(Let’s check with the rules together ^^ ... Wrong? Right?)

5.1

Set Client

Contact

Adverts

Contact

Staff Members

Staff

Completion Date5.2

Set Advert

Completed

Staff

Contact