Advanced techniques used in programming. These techniques include modularization
ID: 3575585 • Letter: A
Question
Advanced techniques used in programming. These techniques include modularization. This discussion topic gives you the chance to explore programming standards.
Modular programming is the process of subdividing a computer program into separate sub-programs. A module is a separate software component. It can often be used in a variety of applications and functions with other components of the system.
Instructions
There are every day, real-life examples of modularization.
To fulfill the requirements for this discussion you will:
Write a brief paragraph/summary explaining modularization and how far you would break down your program in modularizing your code.
Explanation / Answer
Modularization is the process of subdividing a program code into modules/fragments which perform certain functions. While writing a complex program it is ideal to divide the entire code in to smaller parts (each of which have one or more outputs) for following advantages:
1. Debugging the code becomes easier.
2. More standardized format. Easier for anyone to continue the work which was written by someone else.
3. Reusability - Certain modules could be used in several programs thus avoiding re-work and helps in reduced code size. Modules can be called anywhere / anytime in the main code.
4. Any additional feature that could be added to the main program as an independant function / model without having to edit the entire code.
There is no defined way to modularize a code. One can create modules for each function in a complex code but might end up in making the code still more complex. Modularization should be done in a way that the code is readable / de-bug friendly and efficient.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.