Tuesday, 3 January 2012

High Level Languages VS Low Level Languages

Dear Visitors,
       In this lesson we tell you about the difference between High Level Languages & Low Level Languages with in some points.
SO FRIENDS LETS START OUR LESSON

First of all we tell you about the low level languages.
  • Low Level Languages:-
1. It is close to Machine language.
2. It is difficult to learn and use.
3. It is machine dependent
4. It does not provide built in functions.
5. Program written in low level language is faster in execution.
6. Deep knowledge of hardware is required to learn and use low level languages.
7. There are few programmers that can write programs in low level languages.
8. It is difficult to trace out errors in the programs written in low level language.
9. Low level languages are not commonly used.
10. The program statement written in low level language is very lengthy.
  • High Level Languages:- 
1. It is close to human language.
2. It is easy to learn and use.
3. It is not machine dependent.
4. It provides large number of built in functions.
5. Program written in high level language is slower in execution.
6. No deep knowledge is required to learn and use high level language.
7. There are many programmers that can write programs in high level language.
8. It is easy t trace out errors in the program written in high level language.
9. High level languages are commonly used.
10. The program statement written in high level language is very short.
                      
                      Hope this lesson increase your knowledge related to languages. If you like this lesson or have suggestion about this course don't forget to make a comment on it.
Thanks for your time.

Source Code & Object Code



  • Source Code:-
                                      The Program instructions written by following the rules of any High Level Language are known as Program Source Code. The source code is like English statements but the computer understands only the instructions in Machine code.
  • Object Code:-
                              A computer understands only the machine code. The source program written in any High Level Languages (and assembly language) must be translated into machine code before running it on the computer. The translated program into machine code is known as Program Object Code.

Characteristics of High Level Languages


  • Characteristic of High Level Language:-

                     High level languages have several advantages over Low Level Programming Languages.

  • Easy to learn:-
 
                        The high Level Languages are close to human languages. The instructions written in high level languages are similar to English like words and Statements. This makes the high level languages easy to learn and use.

    • Easy to detect errors:-
                          The logic of the program written in high level languages is very simple and easy. The instructions of program are like English language statements. In case of errors, it is very easy to detect (or find) and remove errors in the Program. It is also easy to modify the Program.

      • Machine Independent:-
                          The program written in High Level Language is machine independent. It means that a program written or compiled on one type of Computer can be executed (run) on another different type of Computer that has different architecture.

      • For Example:-
                          A program written on a Computer using Intel Processor can be run on computer having Motorola Processor (but with a little Modification).
      • Availability of Liberty Functions:-
                         Every High Level Language provides a large number of Built in functions (or library functions) that can be used to perform specific tasks during designing of new Programs.
      • For Example:
                        To computer the square root of a number, the programmer can use the available built in function without writing its own code. This way of writing a program reduces the development time of a program. This software is developed in a very short time.
      • Shorter Program:-
                               The Program written in high level language is shorter than the program written in low level language. A single instruction of the program written in High Level Language may be equivalent to many instructions of low level programming language.
      • Well defined Syntax and standard:-
                               Every high level language has a standard syntax. The standard is approved (or established) by international organization. The most popular organization is ANSI (American National Standard Institute). The translator programs are written according to the standard syntax of the language. Therefore, high level languages describe a well defined way of writing programs.
      • Source code is understandable by another programmer:-
                                 The instructions of the program written in high level language are like English language statements. These are written according to the standard syntax of the language. Therefore, a computer programmer can easily understand a program written by another programmer.