Algorithm and Flow Chart: First Year B.Tech
Algorithm and Flow Chart: First Year B.Tech
Tech 2021
Exercise 1: Write an Algorithm and Draw Flow Chart to Find the Addition of
Two Numbers
START
C=A+B;
STOP
STOP
Exercise 2: Write an Algorithm and Draw Flow Chart to Find Average marks
START
CPC,BME,EM,PC,EC as a Integer
Variables
Input: CPC, BME,
Step 2: Assign Value to that variables EM, PC, EC
Step 3: Compute
STOP
Print: Avg
STOP
Exercise 3: Write an Algorithm and Draw Flow Chart to Find Area Circle,
START
Area=pi*radius*radius;
STOP
Print: Area
STOP
START
Area=length*width; Area=length*width
STOP
Print: Area
STOP
START
Area=0.5*height*base;
Area=0.5*height*base
Step 4: Display Result (Print: Area)
STOP
Print: Area
STOP
START START
(A>B)
STOP
Print: A Print: B
STOP
Exercise 5: Write an Algorithm and Draw Flow Chart to find given number is
Even or odd
START
STOP
Exercise 6: Write an Algorithm and Draw Flow Chart to calculate the sum of
1, 2, 3……….100 numbers
START
True
sum=sum + counter
counter=counter+1
Print: sum
STOP