TRANSLATOR/COMPILER/INTERPRETER/LECTURE-4
TRANSLATOR:
- 1. LOW LEVEL LANGUAGE(L.L.L.): these are those languages in which program is written in the form of 0&1. A program written in L.L.L. Is directly understandable by computer. The execution of program is fast
Ø Drawback is that men cant understand program.
Ø Written in
low level language
Ø It is known as binary language
- 2. ASSEMBLY LANGUAGE/MIDDLE LANGUAGE: In this language instead of 0,1. A code called mnemonics code are used so it is easy for user to understand the program. But the drawback is that it is difficult to remember all the code used to write program.
- 3. HIGH LEVEL LANGUAGE(H.L.L.) :
Ø Easy to understand by user
Ø Program is written in English language
Ø Butt execution is slow due to conversion from one
language too another
Translator is of three types
- 1. Compiler (for detail)
- 2. Interpreter
- 3. Assembler
DIFFERENCE BETWEEN COMPILER AND INTERPRETER
DEBUGGER:
it is used to find out the errors in a
program the process of debugging is used b compiler as well interpreter
LINKER:
It is used to combine the
module of a program. Modules are created during compilation & execution
process
LOADER:
It is used to load the
program given by the linker to the memory
Comments
Post a Comment