Friday, October 17, 2014

Modular Programming 

Is a method of decomposing the problem into small independent tasks and solving each of the task. The integration of all solutions gives the solution for the task at hand or problem

Modular programming reduces the complexity of the problem by subdividing the problem into smaller, manageable and simple tasks.

Example:
Preparation of delicious food for a special occasion or festival.
Assume your parents want to prepare 6 dishes for lunch on the occasion of a festival.
If your mother is preparing dishes one at a time by the time she finishes sixth dish she will be tired
If your father helps both of them can DIVIDE the task and each one can prepare 3 dishes this will reduce burden on your mother. Next, if you and your sibling join hands with your parents each one will prepare one dish. Nobody will feel tired and Later on whatever each one of you have prepared is served on a single plate as a lunch.




 Code of ethics