Friday, January 8, 2016

Programming Techniques

Programming Techniques
Algorithm
Image result for programing techniquesAlgorithm is one of the basic tools used to develop the problem solving logic. It is defined as a set of ordered steps for solving a problem, such as a mathematical formula or the instructions in a program. It is written in simple English language program. It is written in simple English language with few mathematical expressions or formulas. It generally takes some input, carries out a number of effective steps in a finite amount of time and produces some output.
Flowchart
A flowchart is a systematic pictorial representation of the steps to be followed to solve a problem or perform a particular task. It uses boxes of different shapes to denote different types of instructions.
The actual instructions are placed in the various boxes which are connected by arrow to indicate the order of execution.
Advantages of Flowchart
The advantages of flowchart are:
It acts as a vase for writing the actual code in a high-level Language.
It helps I detecting, locating and removing mistakes in a program.
It brings clarity and improvement to a process.
It helps the programmer in developing the program logic and to serve as documentation for a future reference for a completed program.
It helps in explaining the program to others.
Rules for Constructing Flowchart:
The rules for constructing flowchart are:
The standard symbols should be used to denote a type of operation.
List the activities inside each symbol.
The arrowheads are used to indicate the direction of flow of control in the problems.
Normally flow lines should not cross each other.
The connectors joining in the different pages must be adequately referenced when drawing a chart on more than one sheet of paper.

Give a title for the flowchart.

No comments:

Post a Comment