Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Advanced techniques used in programming. These techniques include modularization

ID: 3575590 • 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 dividing something in to parts. the main aim of modular programming is to increase the speed of task performed

Modularization is even applied in the daily life , For example consider the following task

EX; You have to eat brakefast , your shoes need to be polished and then you need to leave to office.

You will do all the three tasks by yourself and it takes 30 minutes to leave to office.

now cosider you will be having your breakfast , some one else polishes your shoe at the same time, then you can wear that shoe and leave to office in 20 minutes.Thus saving your time. here you have divided your entire task into three subtasks, which saved your time

--->i.e modularization improves the parallel programming.

modularization is encouraged only if the cost of using extra processor is less considred with perfomance gained.

--> modularization can be done only if one process does not depend on the output of another process.

i.e sequential programs cannot be modularized.

EX: you have three variables a,b and c

you need to do following operations

actual instructions                                                              After modularization

a=a+2;                                                                     a=a+2                                  c=a+b   -->these    two                                                                                                        operations are performed simultaneously

b=b+a;                                                                     b=b+a

c=a+b;

clearly the value of c will be different after modularization. modularization is not encouraged in such scenario where the sequence of instructions executed plays a major role.

-->modularization is not encouraged when the time taken to swich from one module to another module is greater

--> modularization is not encouraged if the number of page faults considerably increases due to modularization

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote