Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 17 - 2501_KVS_C-7
P. 17

    2.1.2 Understanding Flowchart Symbols

                     To draw a flowchart, following symbols are used for various purposes.
                      START /         INPUT /          PROCESS         DECISION         FLOW LINE CONNECTOR
                      STOP            OUTPUT                           BOX

                     Advantages of Flowchart:

                     1.   Improves communication                             2.     Provides visual clarity
                     3.   Enables effective analysis                         4.     Aids in problem-solving

                     5.   Assists in documentation

                     2.1.3 Developing Flowchart

                     To understand how to develop a solution to a problem using a flowchart, let’s consider an example:
                     Problem: To calculate the average of three given numbers.

                     Input: We need to input three numbers.

                     Process:
                            1. Find the sum of these three numbers.

                            2. Divide the total sum by 3 to get the average.
                     Output: Display the average

                     Algorithmically, we have written it; now we will represent it using a flowchart.

                                                         Start

                                                   Input N1,N2, N3

                                                   Sum=N1+N2+N3

                                                                                 Processing

                                                   Average=Sum/3

                                                     Print Average

                                                                     Start and Stop are
                                                                     known as Terminator
                                                         Stop

                                                                   Fig. 2.1

                                                                                           Python                       15

| 12 13 14 15 16 17 18 19 20 21 22 |