Page 103 - 2502_Pakistan-kifayat_C-6
P. 103

Timeline


                       Programming is the process of designing and building executable computer software to accomplish
                     a specific task or solve a problem.
                       Programming is like giving instructions to a computer to perform tasks.
                       A program is a set of instructions that a computer follows to perform a specific task.
                       Programs are written using programming languages.
                       Some popular programming languages include Python, JavaScript, C, C++, Java, etc.
                       To write a program, you use a text editor or Integrated Development Environment (IDE), which helps
                     you write and manage your code.
                       Developing a program is a structured process that involves several stages.
                       Programming languages are special languages that allow us to communicate with computers and tell
                     them what to do.
                       Converting an algorithm into a program involves translating the step-by-step instructions from the
                     algorithm into actual code that can be executed by a computer.





                   Choose the correct option.

                   1.  Which language is NOT a high-level programming language?

                            a.  Python                                     b.  Java
                            c.  Machine language                           d.  JavaScript

                   2.  What is the main purpose of debugging?
                            a.  Add new features                           b.  Find and fix errors

                            c.  Write documentation                        d.  Optimise hardware

                   3.  Which type of error causes a programme to run but produce an incorrect result?
                            a.  Syntax error                               b.  Logic error
                            c.  Runtime error                              d.  Compilation error

                   4.   Which type of programming allows everyday devices, such as smart thermostats, to connect to the
                       Internet?
                            a.  Cybersecurity                              b.  Internet of Things (IoT)

                            c.  Virtual Reality                            d.  Game development

                   Fill in the blanks with the correct words.


                               Hints  Storage, Middle-level, Algorithm, Front-end, Back-end, Memory


                   1.  An                 is a set of step-by-step instructions to solve a problem.
                   2.  Once a program is written, it is saved on a computer’s            device.

                   3.                  languages sit between low and high-level languages.



                                                                                 #Fundamentals of Programming 101
   98   99   100   101   102   103   104   105   106   107   108