Page 33 - IT_V5.0_Class6
P. 33
Algorithm and 2
Flowchart
Unit
Goal Glimpse
Algorithm Control Structures in an Algorithm
More Algorithms Flowcharts
Solving Problems Using Algorithms and Flowcharts
A problem in computing refers to a task or situation that requires a solution through logical
steps and processing. It involves identifying inputs (data), determining the process needed, and
achieving the desired outputs. Computers solve problems by following systematic instructions
provided by users through programming.
To solve problems effectively, programmers use structured methods such as pseudocode,
algorithms, and flowcharts. Pseudocode is a simplified, human-readable version of a programming
logic written in plain language without strict syntax. It helps plan the program structure before
actual coding. For example, pseudocode to check if a number is even or odd is as follows:
START
Input NUMBER
IF NUMBER % 2 == 0 THEN
Print "Even"
ELSE
Print "Odd"
STOP
ALGORITHM
An algorithm is a step-by-step set of instructions to solve a problem or complete a task. Before
we write a program for a computer, we first think about an algorithm. It helps us figure out what
steps the computer needs to follow to get the right output.
Boost Bits
When we search anything on Google, it gives us result based on an algorithm written for it.
Algorithm and Flowchart 31

