ALGORITHM AND FLOWCHART CHAPTER 9 FLOWCHART Flowchart is

  • Slides: 6
Download presentation
ALGORITHM AND FLOWCHART CHAPTER -9

ALGORITHM AND FLOWCHART CHAPTER -9

FLOWCHART Flowchart is a diagrammatic representation of steps or an algorithm used for solving

FLOWCHART Flowchart is a diagrammatic representation of steps or an algorithm used for solving a particular problem. It makes the program easy to understand. To create a flowchart , different boxes are used which are connected to each other with the help of flow lines. The general direction of flow in any flowchart is from top to bottom or left to right. Edraw, Smart draw and Libre office draw are some special software to draw flowcharts.

DIFFERENT BOXES OF FLOWCHART 1. Start/Stop box It is used in the starting and

DIFFERENT BOXES OF FLOWCHART 1. Start/Stop box It is used in the starting and ending of the flowchart. (Terminal box) 2. Input/ Output Box It is used to accept input or display output of the program. ((Parallelogram shape) 3. Processing box It is used for writing instructions and doing calculations. (Rectangle shape)

DIFFERENT BOXES OF FLOWCHART 4. Decision / Condition box It is used for checking/

DIFFERENT BOXES OF FLOWCHART 4. Decision / Condition box It is used for checking/ apply any condition in the program. (Diamond Shape) 5. Flow lines It shows the direction in which the program is moving. 6. Connector It shows the continuation of the flowchart from one page to another.

DIFFERENCE BETWEEN ALGORITHM & FLOWCHART Algorithm Flowchart 1. Algorithm is a set of sequential

DIFFERENCE BETWEEN ALGORITHM & FLOWCHART Algorithm Flowchart 1. Algorithm is a set of sequential steps to solve any problem systematically. 1. Flowchart is a diagrammatic representation of steps or an algorithm used for solving a particular problem. 2. Algorithm is always written in simple language and precise manner. 2. Flowchart is created using different boxes which are connected to each other with the help of flow lines.

ASSIGNMENT A. Fill in the blanks: 1. The _______ symbol represents the starting and

ASSIGNMENT A. Fill in the blanks: 1. The _______ symbol represents the starting and ending of a program. 2. ______ box is used for writing the processing instructions. 3. ______ box represents all comparisons and decisions. 4. A decision box is represented by a ______ shape. 5. _____box is used to display input and output of a program. B. Questions and Answers: 1. Define Flowchart. 2. Differentiate between Flowchart & Algorithm.