You are on page 1of 23

Data Flow Diagrams

(DFDs)
4 tahapan DFD
“Current “Current
1 System” analyze Physical” DFD

“Current
“Current
2 Physical” DFD logically
Logical” DFD

“Current design New “Current


3 Logical” DFD Logical” DFD

New “Current
New “Current implemented
4 Logical” DFD
Physical” DFD
4 elemen diagram
 Process : “sesuatu” yg terjadi di sistem (berbicara dg
teman tentang pesta)
 Data flows : data yg berpindah ketika “sesuatu” terjadi
(informasi pesta)
 Data stores : data tersimpan yg dilibatkan ketika
“sesuatu” terjadi (buku alamat, index kartu, file komputer)
 External entities : segala sesuatu diluar sistem yg
terlibat ketika “sesuatu” terjadi (teman, pelanggan,
supplier)
Process: Datastores:
 Gambaran kejadian
 Menunjukan data dlm sistem
aktual dg keputusan yg
ada  Penjelasan & no.kode M=manual
 Diberi no., pelaku/tempat 1 Sales Floor
files & D=computer data
Product/ service info

dicantumkan, & jelaskan


Product/ service info
M1 Product catalogue
kejadian prosesnya dg kt Speak with
prospective client
kerja perintah * Product/ service info

(telephone,calculate)
A prospective
client External entities:
 Proses dapat dibagi 2
 Telesales
Orang/tempat diluar
menjadi sub-proses  
Product/ service info
Telephone no.

(level). *=akhir proses sistem, yg dilayani


Telephone
M2 Telephone directory
prospective client
 No. proses <= 7, tinjau lg atau* yg menyediakan
bila tidak.  Direferensikan
M1 Product catalogue
3 menurut abjad
Mailouts
Product/ service info
Product/ service info
Mail prospective
Data flows: client Address
*
 Aliran data dari/ke proses M3 Prospective clients list

 Diberi nama tanpa kt kerja


 Panah menunjukan arah aliran
 Data tdk dpt merubah,
perubahan terjadi di proses
Document flow diagram
Production
Supplier
Planning
Delivery
note
Production
Purchase
plan order

Supplier details update form

Stock Control Delivery note


Purchasing
Material requirement list

Stock
withdrawal
note

Factory
Context diagram
Production
Supplier
Planning

Production Delivery
plan note

Supplier details update form

Stock Control Delivery note


Purchasing
Material requirement list

Stock
withdrawal
note

Factory
Level 0 Physical DFD
a b
Production
Supplier
Planning

Production Delivery
plan note

Stock Control
Supplier details update form
c
Maintain stock Delivery note
system Purchasing
Material requirement list

Stock
withdrawal
note

d
Factory
Level 0 Physical DFD-modified
layout
a
Production
Planning

Production
b plan

Supplier
Delivery
note

StockControl

c Stock
Maintainstock
withdrawal
Factory note system

Delivery
Supplier note
details
updateform
Material
requirem ent list
d
Purchasing
Process leveling
Level 0 Level 1 Level 2

Prepare material
3
requirement list

3.1 Stock clerk

1 Stock clerk Calculate order


quantity
Maintain planned *
call- off
*
3.2 Stock clerk

Stock Control 2 Stock clerk Note supplier details

*
Maintain stock Maintain stock card
system
*
3.3 Stock clerk

Amend order quantity


3 Stock clerk *

Prepare material
requirements list
3.4 Stock clerk

Add requirements to
list
*
Level 1 Physical DFD
1 Stock clerk
a M1 Bill of materials
BOM
Production Production
details
plan Maintain planned
Planning
call- off
*
Plan call- off
b details

Supplier M2 Stock cards


Delivery
note 2 Stock clerk
Stock
c details
Stock
Factory Maintain stock card
withdrawal
note
*
Supplier Stock
details Delivery details
update form note

d 3 Stock clerk
Purchasing Material
requirement list Prepare material
requirements list
Level 2 Physical DFD
Prepare material
3
requirement list

3.1 Stock clerk


Stock
details M2 Stock cards
Calculate order
quantity
*
Theoretical order quantity

3.2 Stock clerk

Note supplier details

*
Order quantity & supplier details

3.3 Stock clerk

Amend order quantity

*
Actual order quantity

3.4 Stock clerk


d
Material
Purchasing requirement list Add requirements to
list
*
Menentukan Proses
 Tujuan :
 menjelaskan proses yg terjadi pada level
terakhir DFD
 Menuliskan keputusan yg dibuat atau operasi
yg berulang secara akurat, jelas, dan
lengkap.
Contoh
1. A product is passed as fit for sale if it passes a
mechanical test and an electrical test and has the
correct dimensions. If it fails the mechanical test or
the electrical test (but not both), it is sent back to
the workshop for repair. In all other cases, the
product is rejected.
2. A product is passed as fit for sale if it passes a
mechanical test and an electrical test and has the
correct dimensions. If it has the correct dimensions
and fails the mechanical test or the electrical test
(but not both), it is sent back to the workshop for
repair. In all other cases, the product is rejected.
 Sequence (urutan)
adalah list dari beberapa tindakan atau kejadian yang dilakukan
atas dasar perintah. Diwakilkan dg pernyataan perintah
Contoh : multiply(kalikan), add(tambahkan), or calculate(hitung)
 Selection (pilihan/keputusan)
bila ada beberapa pilihan kebijakan yg dapat digunakan tapi
hanya ada satu yg bisa dipilih.
Contoh : IF, ELSE, ENDIF
 Iteration
muncul ketika beberapa kejadian berulang menentukan kondisi
yang berkelanjutan pengulangannya
Contoh : REPEAT….UNTIL, WHILE….ENDWHILE
Variations
Contoh (deskripsi QC policy) :
1. If a product does not have the correct dimensions,
reject the product
2. If a product does have the correct dimensions,
consider the mechanical and electrical test as follows
2.1 both test satisfactory-pass product
2.2 both mechanical and electrical test unsatisfactory-
reject product
2.3 either mechanical or electrical tests unsatisfactory
(but not both)-repair product.
Decision tables

Condition stub Condition entry

Action stub Action entry


Decision table (Limited entry)
Contoh :
 Identify conditions
correct dimension?
passed mechanical test?
passed electrical test?
 Identify action
accept product
repair product
reject product
 Determine number of rules 2 (pangkat) N
N = number of condition = 8
Decision table
Correct dimensions ? Y Y Y Y N N N N

Passed mech. test ? Y Y N N Y Y N N

Passed elect. test ? Y N Y N Y N Y N

Accept product X

Repair product X X

Reject product X X X X X
Decision table
Correct dimensions ? Y Y Y Y N

Passed mech. test ? Y Y N N -

Passed elect. test ? Y N Y N -

Accept product X

Repair product X X

Reject product X X
Decision table
Correct dimensions ? Y Y Y E
Passed mech. test ? Y Y N L
Passed elect. test ? Y N Y S

E
Accept product X
Repair product X X
Reject product X
Decision table (Extended entry)
Mark 0-34? Y N N N N N
Mark 35-39? - Y N N N N
Mark 40-49? - - Y N N N
Mark 50-59? - - - Y N N
Mark 60-69? - - - - Y N
Mark>69? - - - - - Y
Grade F X
Grade E X
Grade D X
Grade C X
Grade B X
Grade A X
Decision table (Extended entry)

Mark 0-34 35-39 40-49 50-59 60-69 >69


Grade F E D C B A
Decision table (Mixed entry)
Regular customer? Y Y Y N N N

Order value $ 0-99 100-500 >500 0-99 100-500 >500

Discount given 0 15% 20% 0 10% 15%

Free gift X X