Programming and Problem Solving through Python
Algorithm and Flowcharts to solve problems Question & Answer
What is an algorithm?
An algorithm is defined as the sequence of instructions written in simple English that are required to get the desired results. It helps to develop the fundamental logic of a problem that leads to a solution.
What is a flowchart? How is it useful?
A flowchart is a pictorial representation of an algorithm. It uses boxes of different shapes to represent different types of instructions. These boxes are connected with arrow marks to indicate the flow of operations. It helps in:
Communication — The pictorial representation of the flowchart provides better communication. It is easier for the programmer to explain the logic of a program.
Effective Analysis — It is a very useful technique, as flowchart is a pictorial representation that helps the programmer to analyze the problem in detail.