Source Code The programming code which is written using high level languages ( Python,Java,DotNet etc) is called source code Machine C...
Source Code
The programming code which is written using high level
languages ( Python,Java,DotNet etc) is called source code
Machine Code
Computer hardware understand binary language (0 or 1) which
is called Machine language
Compiler and Interpreter
Compiler and Interpreters are used to convert high level
language source to machine language
Compiler |
Interpreter
|
Reads the entire code and translate it as a whole
machine code. |
It translate source code line by line |
It generates an intermediate object code which is
further linked for execution, so it requires more memory |
No Intermediate object code is generated hence it is more memory
efficient |
Examples C++,C,Java |
Examples
Python,Ruby,JavaScript |
COMMENTS