|
Bambooweb: Algorithms (1868 words) |
 | Algorithms are essential to the way computers process information, because a computer program is essentially an algorithm that tells the computer what specific steps to perform (in what specific order) in order to carry out a specified task, such as calculating employees’ paychecks or printing students’ report cards. |
 | Algorithms are not only implemented as computer programs, but often also by other means, such as in a biological neural network (for example, the human brain implementing arithmetic or an insect relocating food), or in electric circuits or in a mechanical device. |
 | A divide-and-conquer algorithm reduces an instance of a problem to one or more smaller instances of the same problem (usually recursively), until the instances are small enough to be directly expressible in the programming language employed (what is 'direct' is often discretionary). |