What Is an Algorithm ??
Ø
Consider how you use a computer in a typical day. For example, you start
working on a report, and once you have completed a paragraph, you perform a
spell check. You open up a spreadsheet application to do some financial
projections to see if you can afford a new car loan. You use a web browser to
search online for the kind of car you want to buy.
Ø You may not think about this very
consciously, but all of these operations performed by your computer consist of
algorithms. An algorithm is
a well-defined procedure that allows a computer to solve a problem. Another way
to describe an algorithm is a sequence of unambiguous instructions. The use of
the term 'unambiguous' indicates that there is no room for subjective
interpretation. Every time you ask your computer to carry out the same
algorithm, it will do it in exactly the same manner with the exact same result.
Ø Consider the earlier examples again.
Spell checking uses algorithms. Financial calculations use algorithms. A search
engine uses algorithms. In fact, it is difficult to think of a task performed
by your computer that does not use algorithms.
Consider how you use a computer in a typical day. For example, you start working on a report, and once you have completed a paragraph, you perform a spell check. You open up a spreadsheet application to do some financial projections to see if you can afford a new car loan. You use a web browser to search online for the kind of car you want to buy.
Comments
Post a Comment