Program Design

What does the term modularisation mean?  How is it used to make program design easier, what problems does it cause, and what different types of modularisation are there?

Hope someone can help  :)

gnvqadvAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MotazCommented:
I think it means making the program in units (Modules) each module to solve a specified problem.

Motaz
0
hongjunCommented:
Modularisation means to divide your program into modules or simply procedures or functions. In this way, you will be able to reuse them later whenever you need them without having to retype and redefine them. Futhermore, designing your program using modular approach will enable the different sections of code easier to maintain and change without affecting the entire program.

How is it used? Example you will have a procedure to do all the generation of random numbers. In this way, whenever you need to produce random numbers, you will simply call this procedure.

Programs caused? Actually, I cannot think of much problems. The only setback of using too many functions or procedures in a program will make the flow of the program ambiguous. This is true especially for beginners. They just cannot figure out which line of the program source code will be run after the current running procedure ends. Despite of this, programs are strongly encouraged to be desgined using modular approach. Pros out-weigh the cons.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gnvqadvAuthor Commented:
What are the different types of Modularisation?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.