Chapter 7 Algorithm and Flow Chart.
Q1) Define a flow chart.
Ans :A flow chart is a graphical representation of a process and the logic (which is also called an
algorithm) used in it.
Q2) Define any three symbols of flow chart.
Ans: (i) Input/Output: It represents reading input or writing output.
(ii) Processing: It indicates the processing of the input provided.
(iii) Flow line: It is used to show the direction in which the process flows.
Q3) Define a loop.
Ans: A loop is a sequence of steps repeated a number of times.
Q4) Write any two advantages of a flow chart.
Ans: Flow chart provides the following advantages:
(i) Programmers can analyse the problem in detail.
(ii) Ideas and solutions can be communicated easily and clearly.
Q5) Write any 3 rules to draw a flow chart.
Ans: You must follow these basic rules while drawing a flow chart:
(i) The flow chart should be clear, neat and easy to follow.
(ii) Only one flow line should come out of a process symbol.
(iii) Ensure that only one flow line should enter a decision symbol, but two flow lines
should leave the decision box.
Q6) Write the uses of an algorithm.
Ans: An algorithm is mainly used for calculations, data processing, decision making. Algorithms
make decision making more consistent and efficient.
Lab Activity Question:
Q4) Draw a flowchart to input two sides of a rectangle and display whether it is
a square or not.
START
Ans:
Read L and B
NO
Is
L=B
Print “No it’s
not a square”
YES
Print “It’s a
square”
STOP