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

#Computational Thinking




              Chapter 5





              #Chapter Profile

                  Algorithm                                             Computational Thinking in Problem Solving
                  Writing an Algorithm                                  Flowchart
                  Solving Problems using Algorithms and Flowcharts



                             Take Off                                                         Century   #Critical Thinking
                                                                                                 21 st
                                                                                                Skills
                    Find the odd one out in each group.

                    1.   AA2                 BB4                 CC3                DD8
                    2.   AB                  DF                  GH                   JK

                    3.  1234                6789                2354                4567

                    4.  0001                1002                0101                0111





              In our daily life, we have to solve various problems by using different strategies. These strategies are
              called problem-solving techniques. A problem-solving technique is a collection of sequential steps to
              solve a problem. In the same way, programmers also use different types of techniques to solve the
              problems related to programming. Some of these techniques are algorithms and flowcharts.

              An algorithm is a set of step-by-step instructions in a sequential manner to solve a problem. A flowchart
              is a pictorial representation of an algorithm. A flowchart uses special symbols to represent each step.
              An algorithm and a flowchart are the base to write a program. Let us learn more about algorithmic
              intelligence and making programs.


                   ALGORITHM

              We know that a program is a collection of instructions. The language used to write a program is called
              a programming language. Before writing a program on the computer, every programmer must analyse
              the problem and write an algorithm to solve the problem.

              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.
              An algorithm is always written in very simple words and precise language so that the steps can be
              understood easily by everyone.
   65   66   67   68   69   70   71   72   73   74   75