Beruflich Dokumente
Kultur Dokumente
2
?
The primary objective in computational problem-solving is to develop a correct
and efficient computer program for solving the problem at hand. In this chapter we
will illustrate how, given a problem definition, a precise algorithm and program
implementation can be developed, in a step-wise manner, from an of the
solution using a powerful method called
or
.
The objective of the design methodology is to first establish the overall structure
and the relationships between the various parts of the problem, and then address
the specific and complex issues of the implementations of the various sub-parts.
x
which identifies the basic principle by which the input can be transformed to
the output and gives an outline of the solution.
which makes precise the outline indicated, identifies the various components
required and gives a precise method of computing the solution. A crucial
aspect in algorithm design is the analysis of correctness and efficiency.
which involves an implementation of the algorithm using the syntax of a
programming language.