Functions :
Function is the
block of code which is used to perform a particular operation.
There are two
type of the functions :
(i)
Pre-defined functions
(ii) User -defined functions .
Monolithic
Programming : In this case , we write the entire logic in the single program.
The disadvantages of the monolithic
programming are,
(a) Difficult to understand.
(b) Difficult to modify
(c) Difficult of debug.
[Bug means computer program error and
debugging is the process of locating and removing the
computer program error.]
Modular Programming : In the case of the
modular programming , we divide the entire complex program into the simple
sub-programs or modules.These modules are also known as functions.
No comments:
Post a Comment