Page 39 - IT_V5.0_Class6
P. 39
Change NUM=NUM+1.
Goto Step 3.
Step 4: Stop
Problem 15: Write an algorithm to ask your 5 friends their MARKS in the Unit test. Calculate the
average (Hint: Average =sum of all 5 marks/count) and display it.
Step 1: Start
Step 2: Set COUNT=1 and SUM=0.
Step 3: Repeat until COUNT reaches 5.
Input MARKS.
Change COUNT=COUNT+1.
Change SUM=SUM+MARKS.
Goto Step 3.
Step 4: Calculate Average=SUM/5.
Step 5: Print Average.
Step 6: Stop
FLOWCHARTS
A flowchart is a type of graphical diagram that represents an algorithm. Flowcharts are used in
analysing, designing, documenting, or managing a process or program in various fields.
Symbols Used in Flowcharts
Different symbols are used to draw different types of flowcharts.
Symbol Name Description
It is used to show the start and stop points of the
Start/Stop
Oval flowchart. It usually contains the words 'Start' or 'Stop'.
Process It shows a process or action step.
Rectangle
It represents information entering or leaving the system,
Input/Output
i.e., input and output.
Parallelogram
It indicates a question or branch in the process flow. It is
Decision
used when there are 2 options (Yes/No).
Diamond
Flow Line It shows the direction in which the process flows.
Arrow
Algorithm and Flowchart 37

