Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 69 - logicode 2609 C6
P. 69

    Keep the main flow from left to right or top to bottom, avoiding any changes in direction.

                       A Process box has one incoming line and one outgoing
                       line.                                                            Just as a peacock’s call can
                       A Decision box has one incoming line and at least two           signal upcoming rain, computer
                       outgoing lines.                                                  algorithms can predict future
                                                                                       events based on data patterns.
                       Inside each symbol,  write  a brief action  or question
                       that clearly describes the step.

                       Use uniform shapes and equal spacing to make the
                       chart easy to read.

                       Do not leave an arrow without a destination symbol.

                     SOLVING PROBLEMS USING FLOWCHARTS

                     Example: Design a flowchart for the online decision of whether to click on a suspicious link.
                     The flowchart for the online decision to click on the suspicious link:

                                                   Start

                                           Receive a suspicious link

                                                Link from a       No
                                               trusted source?            Do not click on the link

                                               Yes

                                                 Were you         No
                                                 expecting              Contact the sender to verify
                                                  the link?

                                               Yes

                                                 Does the         No
                                               link look safe?           Report and delete the link

                                               Yes

                                          Click on the link to open it.

                                                   Stop

                                                                                  Algorithms, Flowcharts and System Maps  67

| 64 65 66 67 68 69 70 71 72 73 74 |