Essay Database

Procedures, Parameters & Sub-Programs

Date Submitted: 05/10/2004 08:50:42
Category: / Science & Technology / Computers and Cybernetics
Length: 4 pages (1016 words)
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 …
Is this Essay helpful? Join now to read this particular paper
and access over 800,000 just like this GET BETTER GRADES
…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.
Need a custom written paper? Let our professional writers save your time.