Saturday, June 19, 2021

Logical and Physical Data Flow Diagrams

Data Flow Diagram (DFD) is a graphical representation of data flow in any system. It is capable of illustrating incoming data flow, outgoing data flow and store data. Data flow diagram describes anything about how data flows through the system.

Sometimes people get confused between data flow diagram and flowchart. There is a major difference between data flow diagram and flowchart. The flowchart illustrates flow of control in program modules. Data flow diagrams illustrate flow of data in the system at various levels. Data flow diagram does not have any control or branch elements.

Types of DFD :
DFD is of two types:

..
  1. Logical DFD:
    Logical data flow diagram mainly focuses on the system process. It illustrates how data flows in the system. Logical DFD is used in various organizations for the smooth running of system. Like in a Banking software system, it is used to describe how data is moved from one entity to another.
  2. Physical DFD:
    Physical data flow diagram shows how the data flow is actually implemented in the system. Physical DFD is more specific and close to implementation.


Design FeatureLogicalPhysical
What the model depictsHow the business operates.How the system will be implemented (or how the current system operates).
What the processes representBusiness activities.Programs, program modules, and manual procedures.
What the data stores representCollections of data regardless of how the data are stored.Physical files and databases, manual files.
Type of data storesShow data stores representing permanent data collections.Master files, transition files. Any processes that operate at two different times must be connected by a data store.
System controlsShow business controls.Show controls for validating input data, for obtaining a record (record found status), for ensuring successful completion of a process, and for system security (example: journal records).



Figure illustrated below shows a logical data flow diagram and a physical data flow diagram for a grocery store cashier. The CUSTOMER brings the ITEMS to the register; PRICES for all ITEMS are LOOKED UP and then totaled; next, PAYMENT is given to the cashier; finally, the CUSTOMER is given a RECEIPT. The logical data flow diagram illustrates the processes involved without going into detail about the physical implementation of activities. The physical data flow diagram shows that a bar code—the universal product code (UPC) BAR CODE found on most grocery store items—is used. In addition, the physical data flow diagram mentions manual processes such as scanning, explains that a temporary file is used to keep a subtotal of items, and indicates that the PAYMENT could be made by CASH, CHECK, or DEBIT CARD. Finally, it refers to the receipt by its name, CASH REGISTER RECEIPT.


Fig: logical data flow diagram.

Developing Logical Data Flow Diagrams

To develop such a diagram, first construct a logical data flow diagram for the current system. There are a number of advantages to using a logical model, including:

  1. Better communication with users.
  2. More stable systems.
  3. Better understanding of the business by analysts.
  4. Flexibility and maintenance.
  5. Elimination of redundancies and easier creation of the physical model.


The physical data flow diagram 

Reference


No comments:

Post a Comment

Logical and Physical Data Flow Diagrams

Data Flow Diagram (DFD)  is a graphical representation of data flow in any system. It is capable of illustrating incoming data flow, outgoin...