Page 89 - 2622_Delhi Police Public School_C-6
P. 89

I have written the steps that      Let's try that                  Yay! Ticket        Hmm, I know. It
                   I think should be followed.         practically.                  got booked.         is a method for
                                                                                                         solving problem.




















                                                                       These steps are called
                                                                           an algorithm.




                  Test Your Knowledge                                                        21 st  Century   #Critical Thinking
                                                                                                 Skills
                    Look at the code given below carefully and decode the message.

                    Code:
                    A-1, B-2, C-3, D-4, E-5, F-6, G-7, H-8, I-9, J-10, K-11, L-12, M-13, N-14, O-15, P-16, Q-17, R-18, S-19, T-20,
                    U-21, V-22, W-23, X-24, Y-25, Z-26, Space-27.
                      1
                          12
                    Message:    5   18   20   27   13    1   10   15   18   27   3    25   3    12   15  14    5




                 In our daily lives, 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 sequentially to solve a problem or to complete a task. These steps are the
                 foundation of a program. They are important to programming as recipes are for cooking.

                 Writing an Algorithm


                 The construction  of the Algorithm  is the stage that requires creative thinking  and  finding  the best
                 possible combination of steps to get the result. For example:

                 Example 1: Algorithm for going to the market to purchase a pen.
                 Step 1:   Start.

                 Step 2:   Check your wallet for cash.
                 Step 3:   Go to the market.

                 Step 4:   Go to the stationery shop.



                                                                                          Algorithmic Intelligence  87
   84   85   86   87   88   89   90   91   92   93   94