Lab 04
Lab 04
Lab 04
Instructor: Dr.Nesreen El saber
TA : Eng.Saja Saadoun , Eng.Pansy Youssef
2
1. Understanding System Workflows – Breaks down complex processes to show how data
moves and transforms.
2. Communication Tool – Helps stakeholders (technical & non-technical) understand
system functionality.
3. System Documentation – Acts as a reference for system development, maintenance, and
upgrades.
4. Identifying Issues & Improvements – Highlights inefficiencies, bottlenecks, and security
concerns.
5. Supporting System Design – Guides developers in structuring databases, processes, and
UI/UX.
3
2. Data Flows
● Represent the movement of data between processes, data stores, and external entities.
● Data flow names describe the content, not how it is
implemented.
● Data flows:
○ Can be a single piece of data or a collection of
related data.
○ Must start or end a process.
○ Are depicted as solid lines with arrows.
○ Control flows (non-data flows) trigger processes and are shown with dashed lines.
4
3. Data Stores
● Include:
○ A number
○ A name (noun)
○ Description
○ Input and output data flows.
● Data stores hold information that businesses want to store permanently.
4. External Entities
● External entities:
○ Add data to the system.
○ Receive data from the system.
○ Are depicted as rectangles.
5
77
DFD Hierarchy
1. Context Diagram (Level 0 DFD)
● Top-level diagram that represents the entire system as one single process (Process 0).
● Shows external entities that interact with the system.
● Displays major data flows between the system and external entities.
● Does not show internal processes, data stores, or detailed data flow.
● Expands Process 0 from the context diagram into multiple major processes.
● Introduces data stores and shows how processes interact with them.
● Shows the flow of data between processes, data stores, and external entities.
● Still high-level but provides more detail than the context diagram.
● Breaks down each major process from Level 0 into smaller sub-processes.
● Shows detailed data flows within each process.
● Helps identify dependencies, decisions, and interactions among sub-processes.
● Identify:
○ External Entities: Who interacts with the system?
○ Major Inputs: What data flows into the system?
○ Major Outputs: What data flows out?
● A DFD fragment represents a single process interacting with relevant data stores and external entities.
● These fragments will later be combined into the full Level 0 DFD.
2. Which element of a DFD represents activities or functions performed for a business reason?
A) External Entities
B) Data Stores
C) Processes
D) Data Flows
4. Which level of DFD provides a high-level overview of the system as a single process?
A) Level 3
B) Context Diagram (Level 0)
C) Level 2
D) Level 1
17
Create Level 0 and Level 1 Data Flow Diagram and implement it using the
following link:
draw.io link : https://app.diagrams.net/