Page 118 - TP_Plus_v4_Class6
P. 118

21 st
                       Double Tap                                                      Century   #Information Literacy
                                                                                         Skills

                     Write the names of any three languages of third generation.

                     1. ___________________   2. ___________________   3. ___________________



              Advantages of High-Level Languages

                  A high-level language is user friendly and easier to maintain.
                   A  high-level  language  is  similar to the  English  language  with  vocabulary  of  words  and  symbols,
                 therefore it is easier to run.

                  A high-level language requires less time to write a program.

                  A high-level language is problem oriented rather than machine-based.
                  A high-level language is machine independent.

              Disadvantages of High-Level Languages

                   A high-level language has to be translated into the machine language by a translator and thus it
                 wastes a lot of the computer time.
                   The object code generated by a translator might be inefficient as compared to an equivalent assembly
                 language program.


                   LANGUAGE TRANSLATOR


              A  language  translator  is  a  software  that  converts  a  high-level  language  program into  a  machine
              language. There are three types of language translators.

              Assembler

              An assembler is a program used to translate assembly language into machine language (0’s and 1’s) so

              that the computer can understand it.

              Compiler

              A  compiler is a software that translates a program written in  High  Level Language  into  machine
              language before executing it. It converts the entire source program into machine language at once. It

              displays the errors for the whole program together.

              Interpreter

              An  interpreter is  also a software that converts the  entire  source program written  in High  Level
              Language into machine language before executing it. It translates and executes one statement at
              a time. It displays the errors one line at a time and it goes to the next line only after the error is
              corrected.




                  116  Plus (Ver. 4.0)-VI
   113   114   115   116   117   118   119   120   121   122   123