Source Code translators Flashcards
1
Q
What is machine code
A
Machine code is the pure binary form of our source code
2
Q
What are the three types of translators
A
Assembler
Compiler
Interpreter
3
Q
How do we translate low level languages ?
A
Low level languages are written in assembly code and they are translated by using an assembler.
It takes the mnemonics and they translate them into machine code.
4
Q
How can high level languages be translated through an interpreter
A
It takes one line of source code and translate it and then executes it
5
Q
How does a compiler translate high level languages into machine code?
A
Takes the entire source code and translates it if it’s successful into machine code