Monday, May 24, 2010

Why do programmers use submodules in computer programming to solve problems?

Programmers use sub-modules to decrease complexity and increase efficiency.





By breaking a problem up into several smaller problems, a programmer may focus on the smaller problems without getting bogged down by worrying about the big picture.





Because it deals with a specific portion of a program, a sub-module is usually simpler. Simpler problems usually result in faster solutions with less errors.





Furthermore, because a properly designed sub-module has fixed inputs and outputs and relies on local variables, multiple programmers may work on different portions of a program without the need to constantly communicate with each other.

Why do programmers use submodules in computer programming to solve problems?
using sub modules allows the programmer to organize his source code so that he can update or delete any part of the program easily. moreso, having sub modules would help the programmer minimize code typing if a certain process needs to be called many times
Reply:Organization and to reuse code routines...


No comments:

Post a Comment