Procedural Abstraction - Research Article from World of Computer Science

This encyclopedia article consists of approximately 1 page of information about Procedural Abstraction.
Encyclopedia Article

Procedural Abstraction - Research Article from World of Computer Science

This encyclopedia article consists of approximately 1 page of information about Procedural Abstraction.
This section contains 203 words
(approx. 1 page at 300 words per page)

Procedural abstraction is the process of converting a specific procedure into a general procedure by ignoring certain details. This is used during the design process to allow the programmer to focus on the structure of the program instead of the detail of the individual functions.

A procedural abstraction specifies everything the users require from the procedure but nothing more. All other details are left up to the programmer to determine during the implementation. Procedural abstractions are sometimes referred to as "black boxes" since they describe what a procedure does without describing how it does it.

Defining a procedural abstraction requires two steps. The first step names the input and output parameters as well as their types. The second step defines the conditions (called the requires clause), any side effects (the modifies clause) and what the abstraction achieves (the effects clause).

When a procedural abstraction is defined completely, it has the properties of locality and modifiability. Locality means that the details of the implementation are local to the individual procedure and only need to be known by the programmer dealing with the implementation. Modifiability means that replacing the implementation of the procedure does not affect the rest of the program.

This section contains 203 words
(approx. 1 page at 300 words per page)
Copyrights
Gale
Procedural Abstraction from Gale. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.