Page 78 - TP-Play_V-2.0_Book-6
P. 78

ALGORITHMIC INTELLIGENCE


                                                                                         21 st   #Computational Thinking
                                                                                       Century
                                                                                         Skills  #Flexibility
            In our daily life, we have to solve various problems by using different strategies. These
            strategies are called problem-solving techniques. Some of these techniques are algorithms
            and mind maps.


                ALGORITHM

            An algorithm is a set of steps in a sequential manner to solve a problem or to complete
            a task. These steps are the foundation to a program. They are important to programming
            as recipes are for cooking.

            Writing an Algorithm
      Computational Thinking  Example: Algorithm for going to the market to purchase a pen
            The construction of the Algorithm is the stage which requires creative thinking and finding
            the best possible combination of steps to get the result. For example,



            Step 1:
                       Start.
                       Go to the market.
            Step 2:
                       Check your wallet.
            Step 3:
            Step 4:

            Step 5:    Go to the stationary shop.
                       Ask for your favourite pen.
            Step 6:    If pen is available, then go to step 6 otherwise go to step 9.

            Step 7:    Give money to the shopkeeper.

            Step 8:    Keep the purchased pen safely.

            Step 9:    Go back home.
            Step 10:  Ask for any other brand of pen.

            Step 11:  Go to step 6.

            Step 12:  End.

                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.



             78       Play (Ver. 2.0)-VI
   73   74   75   76   77   78   79   80   81   82   83