Flowchart and Algorithm
Flowchart and Algorithm
Problem Solving
1. In order to solve any problem by using computer, it is very imperative to
Detail the precise problem
Itemizing the configuration
1. This step has a great importance in obtaining the correct solution of the
problem.
3. This requires analysis of the problem to find the nature of the problem
analysis of the input data and planning of the output result.
4. This step achieves following goals
Problem description
Determination of the objective
Analysis of the input data
Planning of output
ALGORITHM
The construction of the algorithm is the stage which requires steps or operations
which collectively solve 'a given problem.
The choice of particular algorithm depends upon various such as its reliability,
accuracy and ease of modification.
One of the most important factor in the choice of an algorithm is the time
requirement to execute it (after it in high level language) with the help of
computer.
The algorithm which will least time when executed by a computer is considered
the best.
EXAMPLE 01
EXAMPLE 02
1.
EXAMPLE 3
1. Write an algorithm to print the greatest number from two given numbers.
EXAMPLE 4
EXAMPLE 05
FLOWCHART
A flowchart is drawn before the program in written to ensure the instructions will
be logically integrated.
A flowchart is not a complete program but It is an aid to programming.
There are two types of flowchart
Which are:
System Flowchart
Program Flowchart
A system flowchart shows the flow of data throughout a data process as well as
the flow into and out system. The system analyst will use such a design and to
explain a data processing system.
1. OVAL
1. This symbol is used for transfer of data between Central Processing Unit
(CPU) output devices.
2. In the simple words we can say this symbol is used to represent and
output operations.
3. Therefore, it is also known as INPUT/OUTPUT box.
4. INPUT/ OUTPUT
3. RECTANGLE
1. RECTANGLE:
2. This symbol is used to represent
any arithmetic operation or
transfer of data.
-THANK YOU-