Translator Program
Computers cannot understand source programs written in assembly language and high level languages. Because computers can only understand machine language (programs written using 0, 1). So assembly language and high level language have to be converted into machine language. The programs that convert source programs written in assembly language and high level language into machine language are called translators.
There are basically three types of translators, namely-
(i) Assembler
(ii) Compiler
(ii) Interpreter
Assembler: Translator is used to convert the program written in assembly language into machine language.
Compiler: Compiler is a type of translator which converts the entire program written in high level language into machine language, corrects any errors/bugs in the program and adds necessary auxiliary fouls to the executable file. transforms
Interpreter: The translator program that converts the source code of the program written in high level language line by line or one line into machine language, if there is any mistake and works on the next line, it is called Interpreter.
Comments
Post a Comment