<http://lib.cnfolio.com/ENG421Algorithms>
Introduction to Algorithms and Programming

Introduction to algorithms



Algorithms for people


An algorithm is a list of steps which generates the correct output for a given set of input. Algorithms use similar steps to solve similar problems.

In business, a strategy could be an algorithm for accomplishing an objective.

In cooking, a recipe is an algorithm for making a specific culinary dish.

On the Internet, Amazon uses algorithms to determine which items to display on its website and Google use algorithms to find results of queries.




Algorithms shape our world


Kevin Slavin provides some excellent examples of algorithms that are found all around us. He raises an important question about the potential risks of losing control once algorithms have been implemented.





Algorithms for computers


The problem specifications determine the pre-conditions and post-conditions of a program.





An algorithm is a list of steps which generates the correct output for a given set of input and the steps are suitable for computer implementation.





Algorithms depend on abstractions


Abstractions are required in order to represent real world problems in a format that can be solved by algorithms and computers.





Test plans are linked to algorithms






Sources of algorithms






Common types of algorithms