Page 54 - IT_V5.0_Class8
P. 54
Flowchart 5: Draw a flowchart to repeat the printing of “Hello” five times.
Start
Count=1
IS NO
COUNT<=5? Stop
YES
DISPLAY
"HELLO"
Count= Count+1
DIFFERENCE BETWEEN ALGORITHM AND FLOWCHART
Algorithm Flowchart
It is a step-by-step approach to solve a It is a step-by-step visual/graphical approach
problem. to solve a problem.
It is a Pseudocode(false code) of a program. It is a graphical representation of a program.
Difficult to represent branching and Easily represents branching and looping
looping. through symbols.
Easy to find the errors. Difficult to find the errors.
Can be used for simple, complex or long Advisable to use only for simple processes.
processes
Problem-solving is a fundamental skill that helps us find solutions to various challenges
in everyday life and in fields like mathematics, science, and computer science.
An algorithm may be defined as “a step-by-step procedure or set of rules to follow in
order to solve a specific problem or perform a task.”
Control structure is defined as an order of execution of a statement in an algorithm.
Sequential is the simplest form of control structure, where instructions are executed in a
sequential order, one after the other.
Selection structure allows the algorithm to make a decision based on a condition.
Repetition structure is used for looping, i.e., repeatedly executing a certain block of
statements.
A flowchart is a graphical representation of an algorithm.
52 Information Technology (V5.0)-VIII

