Modular Programming (Theory Question)

1. What is modular program? The modular program is a technique in which a program divided into small logical, manageable and functional part. 2. What is module? The small, logical and functional part of a program is known as module. Types of module: i. Main module ii. Sub- module i. Main module : Modular Programming structure consists of many modules, the program entry point is a module, which is located at the top of the order modules. This top level module is called main module. The main module is the controlling section of a modular programming. ii. Sub- module : Sub- module is a program which is written under the main module. A modular program may have one or more than one sub- module. It is called sub- program. 3. What is module level code and procedure level code? The statement or codes written in a main module are called module level code. The statements or codes written in a procedure are known as procedure level code. 4. List some advantage of ...