Soft Eng 1 - Chapter No 5-1
Soft Eng 1 - Chapter No 5-1
Software Design
Software Engineering I
By: Saifullah shakir
For: NisarAhmad saqib
Department of Computer Science
Software Design Basics & Principles
Software design is a process to transform user requirements
solution domain.
Software Design Levels
High-level Design- The high-level design breaks the ‘single
strongly related
Cohesion
Cohesion is an ordinal type of measurement and is usually described as
with each other. The lower the coupling, the better the
program.
coupling.
Coupling
Control coupling- Two modules are called control-coupled if
coupling.
Coupling
Data coupling- Data coupling is when two modules
parameter).
actual code.
designers:
Data Flow Diagram
The DFD does not mention anything about how data flows through the
system.
Data Flow Diagram
respective names.
depicts the entire information system as one diagram concealing all the
underlying details. Level 0 DFDs are also known as context level DFDs.
Levels of DFD
Level 1 - The Level 0 DFD is broken down into more specific, Level 1 DFD.
Level 1 DFD depicts basic modules in the system and flow of data among
various modules. Level 1 DFD also mentions basic processes and sources of
information.
Levels of DFD
Level 2 - At this level, DFD shows how data flows inside the modules
mentioned in Level 1.
Higher level DFDs can be transformed into more specific lower level DFDs
is achieved.
Structure Charts
Structure chart is a chart derived from Data Flow Diagram. It
Jump - An arrow is shown pointing inside the module to depict that the
Data flow - A directed arrow with empty circle at the end represents data
flow.
Control flow - A directed arrow with filled circle at the end represents
control flow.
HIPO Diagram
HIPO diagrams are good for documentation purpose. Their graphical representation
makes it easier for designers and managers to get the pictorial idea of the system
structure.
HIPO Diagram
IPO Diagram
In contrast to HIPO,IPO (Input Process Output) diagram, which depicts the flow
of control and data in a module, HIPO does not provide any information about
data flow or control flow. Example
Both parts of HIPO diagram, Hierarchical presentation and IPO Chart are used
for structure design of software program as well as documentation of the same.
Structured English
Most programmers are unaware of the large picture of
to do.
Hence, analysts and designers of the software come up with tools such as
Structured English.
code it. Structured English helps the programmer to write error-free code.
Structured English
Other form of methods, which use graphs or diagrams, may