Class - Vi - Chapter 7 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

CHAPTER 7 – ALGORITHM AND FLOWCHART

ALGORITHM
An algorithm is a sequence of steps to solve a particular problem.
Algorithm to add any two numbers: -
Step- 1 Start
Step- 2 Input two numbers say A & B
Step- 3 SUM = A + B
Step- 4 Display SUM
Step- 5 Stop
FLOWCHART
Flowchart is a technique that allows you to represent computer program graphically.

To create a flowchart, you need to use the following symbols: -

SYMBOL NAME DESCRIPTION

This symbol is used to represent the start and


Start and Stop symbol the end of an algorithm or process.

This symbol is used to represent the logic used


Processing symbol in a process or algorithm.

This symbol is used to represent the


Input / Output symbol input/output steps of a process.

This symbol is used to represent the conditional


Decision making symbol situation of a process.

This symbol is used to represent the flow of


Flow Line symbol control in a process.

Example: -
To add any two numbers: -

You might also like