Page 71 - 2502_Pakistan-kifayat_C-7
P. 71

In computer terms, 'Algorithm is the sequence of steps or computer operations which collectively solve
                 a given problem'.

                 Characteristics of a Good Algorithm

                 The main characteristics of a good algorithm are:
                    Precision: Each step is precisely defined.

                     Uniqueness: The result of each step can be uniquely identified and only depends on the result of
                   the preceding step.

                    Finiteness: It stops after a finite number of instructions are executed.
                    Well-Defined Input: The input to an algorithm must be clearly specified and precisely defined.

                     Well-Defined Output: The output produced by the algorithm must also be clearly specified and
                   precisely defined.
                    Effectiveness: The algorithm should be efficient in terms of time and space.

                 Uses of an Algorithm

                 Algorithm is commonly used for:

                    Performing data processing
                    Performing computer and mathematical operations

                    Manipulating data
                    Searching for a particular data


                           Factbot





                    Ada Lovelace is credited for the evolution of the concept of algorithm.







                      COMPUTATIONAL THINKING IN PROBLEM SOLVING

                 Computational thinking is a powerful approach used to solve problems in a clear, logical, and organised
                 way. It is not only useful for computer programming but also helps us solve problems in everyday life,
                 schoolwork, and many other areas.

                 When  you  apply  computational thinking,  you  think like a computer scientist — breaking  problems
                 down, focusing on the important parts, recognising patterns, and creating step-by-step solutions. This
                 process helps simplify even very complicated problems, making them easier to handle and solve.

                 Importance of Computational Thinking

                 Computational thinking is important for the following reasons:

                     It helps you understand problems better by breaking them into small, easy pieces.


                                                                                            #Computational Thinking  69
   66   67   68   69   70   71   72   73   74   75   76