0% found this document useful (0 votes)
34 views10 pages

High-Low - Level Language

A compiled language is a programming language whose implementations are typically compilers and not interpreters. In this language, once the program is compiled it is expressed in the instructions of the target machine. There are at least two steps to get from source code to execution. In this language, compiled programs run faster than interpreted programs. The code of compiled language can be executed directly by the computer’s CPU. Example of compiled language – C, C++, C#, CLEO, COBOL, etc.

Uploaded by

Neha Negi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views10 pages

High-Low - Level Language

A compiled language is a programming language whose implementations are typically compilers and not interpreters. In this language, once the program is compiled it is expressed in the instructions of the target machine. There are at least two steps to get from source code to execution. In this language, compiled programs run faster than interpreted programs. The code of compiled language can be executed directly by the computer’s CPU. Example of compiled language – C, C++, C#, CLEO, COBOL, etc.

Uploaded by

Neha Negi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Assembly 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.

Machine can easily understand the low level language in


comparison of human beings.

Examples of high level languages are C, C++, Java, Python, etc.


S.NO High Level Language Low Level Language

1. It is programmer friendly language. It is a machine friendly language.

2. High level language is less memory efficient. Low level language is high memory efficient.

3. It is easy to understand. It is tough to understand.

4. It is simple to debug. It is complex to debug comparatively.

5. It is simple to maintain. It is complex to maintain comparatively.

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

• Compiler is language specific


• Large programs residing in secondary storage

• Can detect syntax error but not logical errors


Interpreted Language
An interpreted language is a programming language which are
generally interpreted, without compiling a program into machine
instructions.
It is one where the instructions are not directly executed by the target
machine, but instead read and executed by some other program.
Interpreted language ranges – JavaScript, Perl, Python, BASIC, etc
Interpreter
• Translator used to translate high level program to machine language
• One statement at a time is translated and executed
• No object program
• Editing during execution possible
• Easier to write
An interpreted language is a programming language whose
A compiled language is a programming language whose
implementations execute instructions directly and freely,
1 implementations are typically compilers and not
without previously compiling a program into machine-
interpreters.
language instructions.

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.

There are at least two steps to get from source code to


3 There is only one steps to get from source code to execution.
execution.

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.

In this language, compilation errors prevent the code


5 In this languages, all the debugging occurs at run-time.
from compiling.
The code of compiled language can be executed directly A program written in an interpreted language is not
6
by the computer’s CPU. compiled, it is interpreted.

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.

You might also like