Software Design Basics
Software Design Basics
Software design is the first step in SDLC (Software Design Life Cycle), which moves
the concentration from problem domain to solution domain. It tries to specify how to
fulfill the requirements mentioned in SRS.
Modularization
Modularization is a technique to divide a software system into multiple discrete and
independent modules, which are expected to be capable of carrying out task(s)
https://www.tutorialspoint.com/software_engineering/software_design_basics.htm 1/4
5/28/24, 2:26 PM Software Design Basics
independently. These modules may work as basic constructs for the entire software.
Designers tend to design modules such that they can be executed and/or compiled
separately and independently.
Modular design unintentionally follows the rules of ‘divide and conquer’ problem-
solving strategy this is because there are many other benefits attached with the
modular design of a software.
Advantage of modularization:
Concurrency
Back in time, all software are meant to be executed sequentially. By sequential
execution we mean that the coded instruction will be executed one after another
implying only one portion of program being activated at any given time. Say, a
software has multiple modules, then only one of all the modules can be found active
at any time of execution.
Example
The spell check feature in word processor is a module of software, which runs along
side the word processor itself.
https://www.tutorialspoint.com/software_engineering/software_design_basics.htm 2/4
5/28/24, 2:26 PM Software Design Basics
When a software program is modularized, its tasks are divided into several modules
based on some characteristics. As we know, modules are set of instructions put
together in order to achieve some tasks. They are though, considered as single
entity but may refer to each other to work together. There are measures by which
the quality of a design of modules and their interaction among them can be
measured. These measures are called coupling and cohesion.
Cohesion
Cohesion is a measure that defines the degree of intra-dependability within elements
of a module. The greater the cohesion, the better is the program design.
Coupling
https://www.tutorialspoint.com/software_engineering/software_design_basics.htm 3/4
5/28/24, 2:26 PM Software Design Basics
Common coupling- When multiple modules have read and write access to
some global data, it is called common or global coupling.
Data coupling- Data coupling is when two modules interact with each other
by means of passing data (as parameter). If a module passes data structure
as parameter, then the receiving module should use all its components.
Design Verification
The output of software design process is design documentation, pseudo codes,
detailed logic diagrams, process diagrams, and detailed description of all functional
or non-functional requirements.
The next phase, which is the implementation of software, depends on all outputs
mentioned above.
It is then becomes necessary to verify the output before proceeding to the next
phase. The early any mistake is detected, the better it is or it might not be detected
until testing of the product. If the outputs of design phase are in formal notation
form, then their associated tools for verification should be used otherwise a thorough
design review can be used for verification and validation.
https://www.tutorialspoint.com/software_engineering/software_design_basics.htm 4/4