Home »
Flow Chart for Describing Algorithms
» Flow Chart for Describing Algorithms
Flow Chart for Describing Algorithms
9. Flow Chart for Describing Algorithms
An algorithm is a set of instructions which when followed will produce
the solution to a given problem. Algorithms occur in noncomputing
contexts as well as in programming. You can think of the recipe for
baking a cake as an algorithm- certainly a recipe is a set of instructions
which, when followed, will result in a cake. Likewise, the instructions in
a stereo kit are steps which, when followed, will produce a properly
assembled electronic device. If the instructions are poorly written or if
they are not followed precisely, the result is a soggy cake. Consider the
following instructions that you need to make a cup of tea.
1. Pour water in a kettle.
2. Turn the oven on.
3. Place the kettle on the oven.
4. Turn the oven off.
No comments:
Post a Comment