Every algorithm should have the following five characteristics: 1. Input
2. Output
3. Definiteness
4. Effectiveness
5. Termination
Chat with our AI personalities
A "first fit" algorithm is any algorithm which doesn't care about how "good" a solution is, it just returns the first one that works.
Speed and accuracy.
Characteristics of algorithms are: Finiteness: terminates after a finite number of steps Definiteness: rigorously and unambiguously specified Input: valid inputs are clearly specified Output: can be proved to produce the correct output given a valid input Effectiveness: steps are sufficiently simple and basic.
1 simple but powerful and generalsolutions 2 can be easily understood by others 3 can be easily modified if necessary 4 correct for clearly defined situation 5 understood on a number of levels By Amol Dhagdi
An "algorithm" is simply a method to solve a certain problem. For example, when you use the standard method you learned in school to write down two numbers, one beneath the other, then add them, you are using an algorithm - a method that is known to give correct results in this particular case.