High-Low - Level Language
High-Low - Level Language
• 1952
• Use Translator program called assembler
• Easier to understand and use • Machine dependent
• Easier to locate and correct • Knowledge of hardware required
errors • Machine level coding
• Easier to modify
• Easily relocatable
High level languages
Programmers can easily understand or interpret or compile the
high level language in comparison of machine.
2. High level language is less memory efficient. Low level language is high memory efficient.
6. It is portable. It is non-portable.
7. It can run on any platform. It is machine-dependent.
It needs compiler or interpreter for
8. It needs assembler for translation.
translation.
It is not commonly used now-a-days in
9. It is used widely for programming.
programming.
Compiled Language:
A compiled language is a programming language which are generally
compiled and not interpreted.
It is one where the program, once compiled, is expressed in the
instructions of the target machine; this machine code is
undecipherable by humans.
Types of compiled language – C, C++, C#, CLEO, COBOL, etc
Compiler
• A program to translate program to machine language
• Source program - Object program
In this language, once the program is compiled it is While in this language, the instructions are not directly
2
expressed in the instructions of the target machine. executed by the target machine.
In this language, compiled programs run faster than While in this language, interpreted programs can be
4
interpreted programs. modified while the program is running.
7 This language delivers better performance. This languages delivers relatively slower performance.
Example of compiled language – C, C++, C#, CLEO, Example of Interpreted language – JavaScript, Perl, Python,
8
COBOL, etc. BASIC, etc.