Python - Content - Manual (1) - 15
Python - Content - Manual (1) - 15
task which the machine needs to do. Once the task or the main objective of the
program is finalized, the task is broken into smaller tasks which altogether contribute
towards achieving the main goal. To make sure that the flow of the process is
proper, algorithms and flowcharts are used which help us into developing a stepwise
framework to achieve the main goal.
What is an Algorithm?
To write a logical step-by-step method to solve the identified problem is called
algorithm, in other words, an algorithm is a procedure for solving problems. In order
to solve a mathematical or computer problem, this is the first step of the procedure.
An algorithm includes calculations, reasoning and data processing. Algorithms can
be presented by natural languages, pseudocode and flowcharts, etc.
Activity
Goal: To give a glimpse of how to write a step by step algorithm for any
problem/process in a bidirectional manner.
15