Procedures, Parameters & Sub-Programs
View Paper
ESSAY DETAILS
Words: 1016
Pages: 4
(approximately 235 words/page)
Pages: 4
(approximately 235 words/page)
Essay Database > Science & Technology > Computers and Cybernetics
In any modern programming language, procedures play a vital role in the construction of any new software. These days, procedures are used instead of the old constructs of GOTO and GOSUB, which have since become obsolete.
Procedures provide a number of important features for the modern software engineer:-
Programs are easier to write. Procedures save a large amount of time during software development as the programmer only needs to code a procedure once, but
showed first 75 words of 1016 total
Sign up for EssayTask and enjoy a huge collection of student essays, term papers and research papers. Improve your grade with our unique database!
showed first 75 words of 1016 total
showed last 75 words of 1016 total
into memory, the programmer can often identify one or more modules, that need not exist simultaneously. The main module can then call these modules as subprograms when needed. Once a subprogram has completed execution, it returns control to the main program, which can then call another sub program. All subprograms share the same area of memory, and because only one is resident at a time, the memory requirements of the overall program are greatly reduced.
into memory, the programmer can often identify one or more modules, that need not exist simultaneously. The main module can then call these modules as subprograms when needed. Once a subprogram has completed execution, it returns control to the main program, which can then call another sub program. All subprograms share the same area of memory, and because only one is resident at a time, the memory requirements of the overall program are greatly reduced.