What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Mechanism vs Algorithm - What's the difference?

mechanism | algorithm |

As nouns the difference between mechanism and algorithm

is that mechanism is within a machine or machinery; any mechanical means for the conversion or control of motion, or the transmission or control of power while algorithm is a precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps.

mechanism

English

Noun

(en noun)
  • Within a machine or machinery; any mechanical means for the conversion or control of motion, or the transmission or control of power.
  • Any combination of cams, gears, links, belts, chains and logical mechanical elements.
  • * {{quote-magazine, date=2012-03
  • , author=(Henry Petroski) , title=Opening Doors , volume=100, issue=2, page=112-3 , magazine= citation , passage=A doorknob of whatever roundish shape is effectively a continuum of levers, with the axis of the latching mechanism —known as the spindle—being the fulcrum about which the turning takes place.}}
  • A group of objects or parts that interact together. (as in Political machine )
  • A mental, physical or chemical process.
  • (philosophy) A theory that all natural phenomena can be explained by physical causes.
  • Derived terms

    * defense mechanism * reaction mechanism

    algorithm

    Alternative forms

    * algorism (obsolete)

    Noun

    (en noun)
  • A precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps.
  • * 1990 , Cormen, Leiserson, and Rivest, Introduction to Algorithms'': page 1. Cambridge, MA, The MIT Press, 1999 (''23rd printing )
  • Informally, an algorithm''''' is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output. An ' algorithm is thus a sequence of computational steps that transform the input into the output.
  • * {{quote-magazine, date=2013-07-26, author=(Leo Hickman)
  • , volume=189, issue=7, page=26, magazine=(The Guardian Weekly) , title= How algorithms rule the world , passage=The use of algorithms in policing is one example of their increasing influence on our lives. And, as their ubiquity spreads, so too does the debate around whether we should allow ourselves to become so reliant on them – and who, if anyone, is policing their use.}}
  • (archaic) Calculation with Arabic numerals; algorism.
  • Hyponyms

    (hyp-top) * approximation algorithm * checksum algorithm * classification algorithm * compression algorithm * computer arithmetic algorithm * distributed algorithm * divide and conquer algorithm (hyp-mid) * genetic algorithm * greedy algorithm * parallel algorithm * randomized algorithm * randomized algorithm * semi-algorithm * sequential algorithm (hyp-bottom)

    Usage notes

    * Though some technical definitions require that an algorithm always terminate in a finite number of steps, this distinction is not generally observed in practice.

    See also

    * data structure * function * program