An algorithm is a plan, a set of step-by-step instructions to resolve a problem. In an algorithm, each instruction is identified and the order in which they should be carried out is planned.
A flow chart (also known as a flow diagram) is a diagram that represents a set of instructionA single action that can be performed by a computer processor.. Flow charts normally use standard symbols to represent the different instructions. There are few real rules about the level of detail needed in a flow charts. Sometimes flow charts are broken down into many steps to provide a lot of detail about exactly what is happening. Sometimes they are simplified so that a number of steps occur in just one step.
Flow diagram symbols
A simple programSequences of instructions for a computer. could be created to ask someone their name and age, and to make a comment based on these. This program represented as a flow chart would look like this: