Professional Documents
Culture Documents
1
What is an Algorithm ?
2
Good Algorithm - Characteristics
▪ It must be concise – We must be able to describe the solution to a problem
without writing multiple pages of text.
▪ It must promote elegance in the solution – The tool must prevent the
programmer from using practices at the design stage which lead to poor
programming style during implementation.
3
Tools for Algorithm Design
▪ Flow charts
▪ Structure Chars
▪ Pseudocode
4
Evolution of Program Design
There is perhaps a tendency to think that software design was
always as it is now. This is not so, and a brief look at its
development may help to shed some light on the reasons why
current practices and development tools are promoted as desirable.
5
Unstructured Programming
6
Unstructured Programming Ctd.
7
Structured Programming
8
Structured Programming Ctd.
▪ Sequence
▪ Selection
▪ Repetition
9
Modular Programming
11
Object Oriented Programming
12
Object Oriented Programming Ctd.
▪ What is an Algorithm
▪ Good algorithm – Characteristics
▪ Tools for algorithm design
▪ Unstructured programming
▪ Structured programing
▪ Modular programming
▪ Object oriented programming
14