| 1. |
Define And State The Importance Of Sub Algorithm In Computation And Its Relation Ship With Main Algorithm? |
|
Answer» A sub ALGORITHM is an independent component of an algorithm and for this reason is defined separately from the main algorithm. The purpose of a sub algorithm is to perform some computation when required, under CONTROL of the main algorithm. This computation may be performed on zero or more parameters PASSED by the CALLING routine. A sub algorithm is an independent component of an algorithm and for this reason is defined separately from the main algorithm. The purpose of a sub algorithm is to perform some computation when required, under control of the main algorithm. This computation may be performed on zero or more parameters passed by the calling routine. |
|