Q10. What is a module? What is modular programming paradigm? What are its characteristics?
Ans. A set of related procedure with the data they manipulate is called a Module.
Modular programming paradigm, also known as ‘data-hiding principle’ states:
Decide which modules you want;
Partition the program so that data is hidden in modules.
With the increase in program size, a single list of instructions becomes unwieldy. Thus a large program is broken down into smaller units that is, functions (sub-programs). The idea of breaking a program into functions can further be extended by grouping a number of functions together into a larger entity called a module, but the principle is similar: grouping of components that carry out specific tasks.