4. ● The module in software is a
small part of software that is
responsible for performing any
kind of functionality.
● Sometimes the terms
sub-program is also used to
refer to the term module.
Modules • Each of these sub-programs is
individually capable of delivering a
piece of functionality independently,
and these can be accessed by the
users either directly and indirectly
with the help of interfaces.
• Modules are added into a software
so that each of the functionality can
be easily identified and be
understandable for other developers
too.
• This type software building is known
as component-based software.
6. ● It is a technique to divide a
software system into
multiple discrete and
independent modules, which
are expected to be capable
of carrying out tasks
independently .
Modularization
• In simple words , the
process of breaking down
a software into multiple
independent modules
where each module is
developed separately is
called modularization .
8. ● Code is easier to read as each
module focuses on specific
functionality.
● Code is easier to test as distinct
(smaller) modules are ideal for
testing.
● Easily find things in future as
different files and folders are
created for similar types of
functions.
Advantages • Good for code reusability as code
can be called from whatever
libraries and modules it is in .
• Easy for debugging because of code
reusability and minimum number of
bugs occur ,also they are easy to fix.
• Easy to collaborate because code is
distributed in modules and multiple
teams can use it when needed so it
results in less number of conflicts.
9. ● There is a need for extra time
and budget for a product in
modular programming .
● It is a challenging task to
combine all the modules .
● Careful documentation is
required so that other program
modules are not affected .
Disadvantages • Some modules may partly repeat the
task performed by the other
modules so modular programs need
more memory space and extra
time for execution .