Algorithm Is A Step
Algorithm Is A Step
Algorithm Complexity
Suppose X is an algorithm and n is the size of input data, the time and space used
by the algorithm X are the two main factors, which decide the efficiency of X.
For each problem or class of problems, there may be many different algorithms and
for each algorithm, there may be many different implementations (programs).
Drawing a flowchart
Identify input and output.
Apply reasoning skills to solve the problem.
Draw the flowchart using the appropriate symbols and arrows to show the
sequence of steps in solving the problem.
1. Terminal: The oval symbol indicates Start, Stop and Halt in a program’s logic
flow. A pause/halt is generally used in a program logic under some error
conditions. Terminal is the first and last symbols in the flowchart.
6. Flow lines: Flow lines indicate the exact sequence in which instructions are
executed. Arrows represent the direction of flow of control and relationship
among different symbols of flowchart.
Types
Sterneckert (2003) suggested that flowcharts can be modeled from the perspective
of different user groups (such as managers, system analysts and clerks), and that
there are four general types:[10]
Uses of Flowcharts
Project planning
Program or system design through flowchart programming
Process documentation
Audit a process for inefficiencies or malfunctions
Map computer algorithms
Documenting workflow