Sam CH-4
Sam CH-4
Contents
• Software design Methodologies
• Data Flow Diagram
• Data Dictionary
• Decision Trees
• Decision Tables
Software Design Methodologies- Structural Analysis
ØStructural Analysis
• Performed prior to the design stage, and it provides the internal
forces and stresses that will be evaluated during the design and code
checking
• It uses graphical diagrams to develop and portray system
specifications that are easily understood by users.
• It also helps to describe the steps that need to occur and the data
required to meet the design function of a particular software.
• mainly focuses on logical systems and functions, and aims to
convert business requirements into computer programs and
hardware specifications.
• During structure analysis high-level functions are successfully
decomposed into more detailed functions.
…Software Design Methodologies- Structural Analysis
There are three orthogonal views related to structured analysis:
• Functional View: This involves data flow diagrams, which define the
work that has been done and the flow of data between things done,
thereby providing the primary structure of a solution.
• Data View: This comprises the entity relationship diagram and is
concerned with what exists outside the system that is being monitored.
• Dynamic View: This includes state transition diagrams and defines
when things happen and the conditions under which they may happen.
…Software Design Methodologies- Structural Analysis
• During Structured Analysis, various techniques and tools are
used for system development. These are:
• Data Dictionary
• Data Flow Diagrams
• Decision Tables
• Structured English
• Decision Trees
• Pseudocode, etc.
Data flow Diagram (DFD) or Bubble Chart
• A graphical representation of flow of data in an information
system. It is capable of depicting incoming data flow, ongoing
data flow and storing data flow.
• There is a prominent difference between DFD and flowchart.
The flowchart depicts flow of control in program modules.
DFD’s depicts flow of data in the system at various level.
…Data flow Diagram (DFD) or Bubble Chart
Types of DFD
1. Logical DFD
• This type of DFD concentrates on the system process, and flow of
data in the system. For example in a bank software system. How data
is moved between different entities?
Entity
• Which are also known as terminators, sources, sinks (destination of data flow),
or actors, are a system or process that sends or receives data to and from the
diagrammed system.
Process
• Process is a procedure that manipulates the data and its flow by taking incoming
data, changing it, and producing an output with it. A process can do this by
performing computations and using logic to sort the data, or change its flow of
direction.
….Data flow Diagram (DFD) or Bubble Chart
Levels of DFD
1. Level 0: Context Diagram
• This DFD level focuses on high-level system processes or functions
and the data sources that flow to or from them. Level 0 diagrams are
designed to be simple, straightforward overviews of a process or
system.
….Data flow Diagram (DFD)
Level 1: Process Decomposition
• While level 1 DFDs are still broad overviews of a system or process, they’re also
more detailed — they break down the system’s single process node into sub
processes. Depicts basic modules in the system and flow of data among various
modules