Page 40 - CT_AI_Class-5
P. 40

ALGORITHMIC



                                   3                                               THINKING





                  PRIMARY PREVIEW

                     Understanding Algorithm                           Writing Simple Algorithms
                     Logical Thinking and Decision Making              Flow of Instructions
                     Debugging Simple Problems                         Algorithm in Real-life



                  You must have followed a recipe to bake cookies or given a friend step-by-step
                  directions to your house. If so, then you have already used algorithmic thinking

                  without even knowing it. In this chapter, you will learn how to think like a computer
                  and  a  detective.  You  will break  problems  into  small  steps,  make  decisions,  fix

                  mistakes and see how algorithms are everywhere around you.


                  UNDERSTANDING ALGORITHM


                  An  algorithm  is  simply  a  set  of step-by-step  instructions  that  are  followed  in  a
                  specific order to solve a problem or complete a task.

                  Think of an algorithm like a very detailed recipe. A recipe tells you exactly what

                  ingredients to use, how much of each and in what order to do things. If you skip a
                  step or do things in the wrong order, your cake might not turn out right. The same
                  is true for algorithms.





























                  38         Artificial Intelligence (CT & AI)-V
   35   36   37   38   39   40   41   42   43   44   45