Programming,
Algorithm & Flow Chart
Intro to programming, algorithm &
flow chart
• A computer program is a sequential set of instructions written in a computer language that is
used to direct the computer to perform a specific task of computation.
• The objective of programming is to solve problems using computers quickly and accurately.
• A set of steps that generates a finite sequence of elementary computational operations
leading to the solution of a given problem is called an algorithm.
• A flowchart is a diagrammatic representation of the steps of an algorithm.
Algorithm & Flowchart
The following five rules should be followed while creating program flowcharts.
• Only the standard symbols should be used in program flowcharts.
• The program logic should depict the flow from top to bottom and from left to
right.
• Each symbol used in a program flowchart should contain only one entry point
and one exit point, with the exception of the decision symbol. This is known
as the single rule.
• The operations shown within a symbol of a program flowchart should be
expressed independently of any particular programming language.
• All decision branches should be well-labeled.
Flow chart & algorithm to cook rice
Write algorithm & flow chart