Data Flow Diagram
Data Flow Diagram
D I AG R A M
DEFINITION
• Data flows: is the representation of data or information moving between external entities, processes and data
stores. Data flows will either be an input, output or both. Data flows are always labelled as a singular noun.
(E.G.. Book details)
• Data stores: They indicate where data is stored. Data store labels must be a noun phrase. (E.G., Books
database).
• External entities: Referred to as a data source or endpoint, or terminators because they are data origin or
end. Entity are also users interacting with the system .External entities labels must be a noun. (E.G.,
Librarian, borrower). External entities can be a person, organization or other system.
•
Take note: Labelled by singular noun
Take note: Labelled by verb, adjective and a noun
Book details
ID
DATA FLOW
Borrow Book
PROCESSES
Take note: Labelled by a noun
Take note: Labelled by a noun phrase
• LEVEL 1: PROVIDES A MORE DETAILED VIEW OF THE SYSTEM BY BREAKING DOWN THE
MAJOR PROCESSES IDENTIFIED IN THE LEVEL 0 (DFD) INTO SUB-PROCESSES.
• LEVEL 2 AND BEYOND: FURTHER DECOMPOSES LEVEL 1 PROCESSES FOR MORE DETAILED
SYSTEM MODELING.
STEPS ON CREATING A DFD:
1. IDENTIFY THE SYSTEM:
• FOCUS ON THE LIBRARY BORROWING AND INVENTORY SYSTEM.
2. DETERMINE PROCESSES:
• EXAMPLES: SEARCH BOOK, BORROW BOOK, RETURN BOOK, UPDATE
INVENTORY.
3. IDENTIFY DATA FLOWS:
• DETERMINE WHAT INFORMATION IS NEEDED FOR EACH PROCESS.
4. IDENTIFY DATA STORES:
Receipt
0
Fine
LIBRARY
BORROWING &
Book slip Book Information
INVENTORY SYSTEM
Monthly Report Librarian/Admin
Borrower ID
Book ID
Book Request 4
Borrower record D2 Book tbl
3
Book Record Fine ID Fine information
Slip
Borrower history
Process Book
Record Fine
requests Fine Record
Monthly Report
D3 Fine Tbl Information
Library
report
Confirmation Request Staff