Page 79 - Code & Click - 3
P. 79

10                              Introduction to Coding







                     Pre-Processing
                     Pre-Processing
                           • Understanding Coding                          •  Importance of Coding

                           • Why Learn Coding?                             •  Coding Environments


              A computer, just like any another machine, receives instructions from us to perform
              some  task.  These  instructions  need  to  be  given  in  a  manner  and  form  which  the
              computer can understand, carry out, and produce the desired result. These instructions

              are given to the computer in a form called a Program or Code. The process of writing
              these instructions is called Programming or Coding.

              UNDERSTANDING CODING

              When we want to do some work, there are certain steps involved to complete that
              work. For example, if we want to make a cake, we follow the steps given below:

                  1.  Collect  all  the  ingredients  needed  to              • Get ingredients for cake.
                      make the cake.                                      1.

                  2.  Prepare the batter for the cake.                    2.  • Mix the ingredients together.
                  3.  Pour the batter in a mould and bake it              3.  • Bake the cake.

                      in an oven.                                             • Decorate the cake.
                  4.  After the cake is baked, decorate it.               4.

              Similarly, to make the computer do some work, we need to give instructions to do this

              in a sequential order.

              IMPORTANCE OF CODING

              Each action that the computer performs must have a code for it. The program or code
              stored in a computer is like its language. A computer is useless to us without proper
              code.

              Thus, it is important to write the correct code for the machine to make it work accurately.


              WHY LEARN CODING?

              Coding helps us understand how a machine performs all the magical things quickly and
              easily for us. Writing code for computer requires a high level of logical reasoning and

              thinking skills. It also requires the knowledge of special computer languages in which
                                                                                                                   77
   74   75   76   77   78   79   80   81   82   83   84