Algorithm


 
 
Algorithm

In mathematics and computer science an algorithm (the word is derived from the name of the Persian mathematician Al-Khwarizmi) is a finite set of well-defined instructions for accomplishing some task which, given an initial state, will terminate in a corresponding recognizable end-state (contrast with heuristic). Algorithms can be implemented by computer programs, although often in restricted forms; mistakes in implementation and limitations of the computer can prevent a computer program from correctly executing its intended algorithm.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The concept of an algorithm is often illustrated by the example of a recipe, although many algorithms are much more complex; algorithms often have steps that repeat (iterate) or require decisions (such as logic or comparison) until the task is completed. Correctly performing an algorithm will not solve a problem if the algorithm is flawed or not appropriate to the problem. For example, a hypothetical algorithm for making a potato salad will fail if there are no potatoes present, even if all the motions of preparing the salad are performed as if the potatoes were there.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Different algorithms may complete the same task with a different set of instructions in more or less time, space, or effort than others. For example, given two different recipes for making potato salad, one may have peel the potato before boil the potato while the other presents the steps in the reverse order, yet they both call for these steps to be repeated for all potatoes and end when the potato salad is ready to be eaten.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Certain countries, such as the USA, controversially allow some algorithms to be patented, provided a physical embodiment is possible (for example, a multiplication algorithm may be embodied in the arithmetic unit of a microprocessor).

~ ~ ~ ~ ~ ~ ~ ~ ~ ~


 

Computer science: Computer science (abbreviated CS or compsci) encompasses a variety of topics that relates to computation, like abstract analysis of algorithms, formal grammars, and subjects such as programming languages, program design, software, computer hardware, artificial intelligence, and numerical analysis. B...

Persian: Persian can refer to:...

Mathematician: A mathematician is a person whose area of study and research is mathematics....


Algorithm related Images and Photos (experimental)

The Friendship Algorithm Flowchart
The Friendship Algorithm Flowchart
''The Big Bang Theory ''''Friendship Algorithm'''' Women's T-Shirt''
"The Big Bang Theory ""Friendship Algorithm"" Women's T-Shirt"
''The Big Bang Theory ''''Friendship Algorithm'''' Women's T-Shirt''
"The Big Bang Theory ""Friendship Algorithm"" Women's T-Shirt"
''The Big Bang Theory ''''Friendship Algorithm'''' T-Shirt''
"The Big Bang Theory ""Friendship Algorithm"" T-Shirt"
''The Big Bang Theory ''''Friendship Algorithm'''' T-Shirt''
"The Big Bang Theory ""Friendship Algorithm"" T-Shirt"
Big Bang Theory Friendship Algorithm T-Shirt
Big Bang Theory Friendship Algorithm T-Shirt
The Big Bang Theory Friendship Algorithm iPhone Case
The Big Bang Theory Friendship Algorithm iPhone Case
The Big Bang Theory Friendship Algorithm T-Shirt
The Big Bang Theory Friendship Algorithm T-Shirt
The Big Bang Theory - Friendship Algorithm
The Big Bang Theory - Friendship Algorithm

~ Table of Content ~

Introduction
Formalized algorithms
Implementation
Example
History
Classes
See also
References
External links
 
FR: Algorithmique


 

~ Related Subjects ~

Computer science (2) - Microprocessor (1) - Abbreviated (1) - Algorithms (1) - Patent (1) - Multiplication algorithm (1) - Arithmetic unit (1) - Formal grammar (1) - Computer hardware (1) - Artificial intelligence (1) - Numerical analysis (1) - Programming language (1) - Program (1) - Software (1) - Al-Khwarizmi (1) -
 

~ Community ~

History Forum
Come and discuss about History, Civilizations, Historical Events and Figures
History Web-Ring
A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site.