Program Style Modular programs Module

advertisement
Program Style
Modular programs - consists of modules arranged in a logical order to form an
integrated and complete unit.
Module - segments of a modular program; may be a function or a class.
Function - a unit or group of instructions that performs a specific operation.
Program Design Tools
Algorithm - a step-by-step sequence of instructions that describes how a computation is
to be performed.
Flowchart - a graphic representation, using standard symbols, of an algorithm.
Pseudocode - English like phrases used to describe an algorithm.
Program Design Steps
 Get the design requirements.
 Develop an algorithm which solves all procedures described in the design.
 Write the pseudocode which defines all steps in the algorithm.
Write the source code (program).
Return to Notes
Download