Unit I
Unit I
Unit I
ALGORITHM
Unit I
Basics of Algorithms
History of algorithm
• The word Algorithm comes from the name of the muslim
author Abu Ja’far Mohammad ibn Musaal-Khowarizmi.
2. Micro issues
The Macro Issues
• Macro issues involve elements such as how
does one coordinate the efforts of many
programmers working on a single piece of
software.
• How does one establish that a complex
programming system satisfies its various
requirements.
The Micro Issues
The micro issues involve
how best to deal with these small critical
sections.
How to Write an Algorithm?
• There are no well-defined standards for writing algorithms. It is, however,
a problem that is resource-dependent. Algorithms are never written with
a specific programming language in mind.
• As you all know, basic code constructs such as loops like do, for, while,
all programming languages share flow control such as if-else, and so on.
An algorithm can be written using these common constructs.