Computer Science- Assignment
Chapter-9 Algorithm and Flowchart
Class VI
Q1. The steps for baking a cake are mixed up. Rearrange the following steps to write an algorithm
for baking a cake.
(a) Pour the mixture in a baking pan.
(b) Cool the cake and cut into pieces
(c) Collect all the ingredients.
(d) Preheat the oven to 325OF.
(e) Take the cake out of the oven
(f) Bake the cake in the oven
(g) Mix the ingredients in a bowl.
(h) Check the cake. If required, bake it again for five more minutes
Q2. Consider the following flowchart. What value will it display?
a) 1 c) 2
b) 3 d) No value is displayed
Start
N=1
No
Is N>1
Yes
Print N
Stop
Q3 Why should we write algorithms or flowcharts before writing a program?
Q4. Write an algorithm to find the area of a square
Page 1 of 2
Q5. Write any one limitation and one feature of flowchart.
Q6. Correct the following statements:
a) Algorithm means a set of rules which specify how to solve some problems
b) Connectors are used to show the break of the flowchart from one box to another
c) SmartDraw is a special software to write algorithm
d) The General direction of flow in any flowchart is from bottom to top or right to left
Q7 . Define Program
Q8. What will be displayed if the first number is 5 and the second number is 2 in flowchart ?
Start
Read first
number A
Read second
number B
Yes Is A< B No
Print A+2 Print A*2
Print B+2 Print B*2
Stop
Page 2 of 2