You are on page 1of 4

CHAPTER-2(FLOWCHART)

(PART-II)
Q1) What is a flowchart?
Ans) A flowchart is a pictorial (graphical) representations to describe an algorithm or sequence of steps
required to solve a problem. The representation uses geometrical shapes, with each shape having a
specific operation.

Q2) Write the features of flowchart.


Ans) a) A flowchart contains a symbol to denote the starting point (start/begin) and a ending
points(stop/end)
b) Geometrical shapes represent the steps in a flowchart that depict an operation.
c) The general direction of flow in any flowchart should be from top to bottom or from left to right
d) The flow lines should not cross each other
e) If a flowchart occupies more than one page then off page connectors should be used to direct the flow
of information.
f) Connectors can also show a jump from one point to another within the same page to avoid crossing lines
between the steps etc.

Q3) Explain the symbol and purpose used in the flowchart


Ans) by own

Q4) Write some advantages of flowchart.


Ans) Some advantage of flowchart are:-
a) Communication: It is easier for the programmer to explain the logic of a program
b) Effective Analysis:- It help the programmer to analyse the problem in details
c) Efficient Coding:- Flowchart acts a roadmap for the programmers. It gives a clear idea to the
programmers to write a program
d) Proper Debugging:- We can systematically detect, locate, and remove mistakes from a program etc.

Q5) Define On Page connector and Off Page connector


Ans) On Page connector :- It is used to join the parts of a flowchart contained within the same page
Off Page connector:- It is used to join the parts of a flowchart on the different pages.

Note:- Draw the geometrical symbol using pencil, use ruler to draw the flow lines
Q6)Draw a flowchart to find the sum and product of any number.

START

READ A,B

SUM=A+B :
PRODUCT =A*B

PRINT SUM

PRINT PRODUCT

STOP
Q7) Draw a flowchart to find the area and perimeter of a rectangle

START

READ L ,B

AREA=L*B

PERIMETER =2*(L+B)

PRINT AREA

PRINT PERIMETER

STOP

Q8) Draw a flowchart to input any two number display the greatest number.

START

READ X,Y

NO
IS X>Y PRINT Y

YES
PRINT X

STOP

Q9)Draw a flowchart to input any two number display the cube of the smallest number.
START

READ X ,Y

A=X*X*X

B=Y*Y*Y

YES
IS X>Y DISPLAY A

NOB
DISPLAY

STOP

Q10) ) Draw a flowchart to input the selling price and cost price. Find profit or loss. (Condition is the either sp
must be greater or smaller then cp)

START

READ SP, CP

PROFIT=SP-CP

LOSS=CP-SP

YES
IS SP>CP DISPLAY PROFIT

NO
DISPLAY LOSS

STOP
Q11)Draw a flowchart to input the radius of a circle if the radius if greater than or equal to 7. Display the area
of the circle else display the circumference of the circle.

START

READ R

AREA=3.14xRxR

CIRCUMFERENCE=2x3.14xR

YES
IS R>=7 DISPLAY AREA

NO
DISPLAY
CIRCUMFERENCE

STOP

Q12) Draw a flowchart to input any number check the number is positive, negative or neutral. Display the
appropriate result

START

READ P

NO NO

IS P>0 IS P<0

YES YES
PRINT NEGATIVE
PRINT POSITIVE

PRINT
NEUTRAL

STOP

You might also like