Page 80 - CG_v2.1_flipBooks_class_6
P. 80

Software                         Thermostat                         Video games



                  What is Coding?

                  Coding or programming is the process of creating
                  codes to instruct a computer to perform a specific
                  task. There can be more than one way to solve the
                  problem; similarly, there are many ways to write
                  code for the same task.





                                             Let see an example:
                                             When you play video on your smartphone. Your smartphone will act as a
                                             computer which needs to be instructed (in this instructions will be given
                                             by the application which plays the video) at each and every step on what
                                             to be done. The application playing the video provides this instruction via
                                             programming language.







                           The first programmer or the first person to write our modern
                           understanding of a program was Ada Lovelace.





                  What is a Programming Language?

                  Language  is  the  primary  means  of  communication  for  all  human  interactions.  In  the  same  way,
                  to interact with computers, you need a language which the computer understands and is called a
                  programming language.
                  To  communicate  with  computer,  programmers  use  computer  language  which  is  known  as
                  programming language. So, programming language can be defined as a set of instructions which are
                  written in any specific computer language to perform a set of activities.

                  Programming languages have syntax. Syntax is the same as grammar in any language.




                       78    Computer Genius (V2.1)-VI
   75   76   77   78   79   80   81   82   83   84   85