answersLogoWhite

0

Modular programming is the technique which divides the entire program into smaller modules, which perform a specific task. Even though the simple program structure works well for simple examples, it is counter-productive for longer programs, leading to lack of clarity and slowing code maintenance and modification.

The programmer designs the program in levels, where a level consists of one or more modules. The first level is a complete main program and modules at successive levels consist of sub modules referenced in the prior levels.

A module is a set of program statements which, when acting together complete a specific task. In practice a module can be a function and the main program can consist of a sequence of calls to the functions that represent the modules of the next levels down.

The order in which the modules are executed by the computer is controlled by the main program. This describes fully the procedures required in the solution to a problem. The procedures are written in the order of the machine execution.

Modules should be structured within themselves by incorporating the constructs of sequencing, selection and repetition. Every program can and should be written using only these constructs.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
BeauBeau
You're doing better than you think!
Chat with Beau
More answers

modular means that it blocks all other processes (ie. a modular window will not allow you to proceed until you close the window)

User Avatar

Wiki User

15y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What does modular program and non-modualr program mean?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is modular programing mention any 2 charecteristic?

Modular programming is a design technique which separates a program into small, self-contained units or modules, each focusing upon a particular aspect of the program. Modular programming typically combines structured programming, object oriented programming and generic programming techniques.


Can you explain at least four benefits of modular design and support your answer with a hypothetical real-world example?

Modular coding enforces logical boundaries between the separate components of a system and thus improves the maintainability of the system. Typically, a modular program consists of a primary module (such as an EXE file) and many auxiliary modules (such as DLL files). Auxiliary modules can often be shared amongst many primary modules, thus reducing memory consumption. A real-world example of modular coding would be a multi-language program, where the language resources are provided by separate auxiliary modules. In this way the user selects their chosen language and the appropriate module(s) for that language are loaded into memory.


What statements may appear anywhere you need them in a program?

Any statements may appear anywhere you need them in a program, provided those statements are within the scope of those locations. In modular programming, you must include the module that contains each statement's prototype wherever you intend to use those statements.


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


What is modular ratio in rcc?

In reinforced concrete construction, the modular ratio refers to the modulus of elasticity of concrete to that of steel. It is used in structural design calculations to determine distribution of stresses between concrete and steel in beams and columns.