What Is Compiler?: Translated by Compiler Object Code Source Code
What Is Compiler?: Translated by Compiler Object Code Source Code
Compiler translates source code written in a high level programming language to object code which
can be saved as an object code file and later run to execute the program. Compiler does this by
scanning through the source code in one run.
What is interpreter?
Interpreter converts source code written in a high level programming language to machine language
line by line and executes each line.
What is an assembler?
Assembler converts assembly language code into machine language.
What is object code?
Object code is the product obtained when source code is translated by a compiler. Object code may
almost be machine code or close to machine code.
Source Code
Assembly Code
Translated by Compiler
Object Code
Translated by Interpreter
Machine Code
Translated by Assembler
What is an executable?
This is a compiled program which has a user interface and can run independently.