Warning: Use of undefined constant referer - assumed 'referer' (this will throw an Error in a future version of PHP) in /usr/home/essaywo/public_html/essays on line 102

Warning: Use of undefined constant host - assumed 'host' (this will throw an Error in a future version of PHP) in /usr/home/essaywo/public_html/essays on line 105

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/essaywo/public_html/essays:102) in /usr/home/essaywo/public_html/essays on line 106

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/essaywo/public_html/essays:102) in /usr/home/essaywo/public_html/essays on line 109
Procedures, Parameters & Sub-Programs - Papers

Procedures, Parameters & Sub-Programs



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
can use it a number of times. Procedures are especially useful in recursive
algorithms where the same piece of code has to be executed over and over again.
The use of procedures allows a large and complex program to be broken up ...

Want to read the rest of this paper?
Join Essayworld today to view this entire essay
and over 50,000 other term papers

make it easier to understand.

Programs are easier to modify. When repeated actions are replaced by one
procedure call, it becomes much easier to modify the code at a later stage, and
also correct any errors. By building up the program in a modular fashion via
procedures it becomes much easier to update and replace sections of the program
at a later date, if all the code for the specific section is in a particular
module.

Programs take less time to compile. Replacing a sequence of statements with
once simple procedure call usually reduces the compilation time of the program,
so long as the program contains more than one reference to the procedure!

Object programs require less memory. Procedures reduce the memory consumption
of the program in two ways. Firstly they reduce code duplication as the code
only needs to be stored once, but the procedure can be called many times.
Secondly, procedures allow more efficient storage of data, because storage for a
procedure's variables ...

Get instant access to over 50,000 essays.
Write better papers. Get better grades.


Already a member? Login


CITE THIS PAGE:

Procedures, Parameters & Sub-Programs. (2007, June 26). Retrieved November 23, 2024, from http://www.essayworld.com/essays/Procedures-Parameters-Sub-Programs/67032
"Procedures, Parameters & Sub-Programs." Essayworld.com. Essayworld.com, 26 Jun. 2007. Web. 23 Nov. 2024. <http://www.essayworld.com/essays/Procedures-Parameters-Sub-Programs/67032>
"Procedures, Parameters & Sub-Programs." Essayworld.com. June 26, 2007. Accessed November 23, 2024. http://www.essayworld.com/essays/Procedures-Parameters-Sub-Programs/67032.
"Procedures, Parameters & Sub-Programs." Essayworld.com. June 26, 2007. Accessed November 23, 2024. http://www.essayworld.com/essays/Procedures-Parameters-Sub-Programs/67032.
JOIN NOW
Join today and get instant access to this and 50,000+ other essays


PAPER DETAILS
Added: 6/26/2007 02:56:33 AM
Category: Computers
Type: Free Paper
Words: 1014
Pages: 4

Save | Report

SHARE THIS PAPER

SAVED ESSAYS
Save and find your favorite essays easier

SIMILAR ESSAYS
» I Am The Cheese
» A Separate Peace And A Real Wa
» Yosano Akiko
» NAFTA: Canada's & Mexico's View...
» Black Holes
» Aestheticsm movement
» E. E. Cummings
» The Arts Should Be A Part Of Th...
» Beowulf: The Epic Hero
» Humanity And Politics In Gulliv...
Copyright | Cancel | Contact Us

Copyright © 2024 Essayworld. All rights reserved