Page 124 - TP_Prime_v2.2_Class_6
P. 124
Disadvantages of High-Level Languages
Some of the disadvantages are:
• A high-level language has to be translated into the machine language by a translator and
thus it wastes a lot of the computer time.
• The object code generated by a translator might be inefficient as compared with an
Prime (Ver. 2.2)-VI Warm Write the names of any three languages of fourth generation.
equivalent assembly language program.
21 st
#Information Literacy
Century
Skills
Up!
1. ___________________
3. ___________________ 2. ___________________
122
Language Translator
A language translator is a software that converts a high-level language program into a
machine language. There are three types of language translators - assembler, compiler and
interpreter.
Assembler
An assembler is a program used to translate assembly language into machine language so
that the computer can understand it. The assembler enables the computer to convert the
assembly language instructions into machine code, i.e., 0’s and 1’s.
Compiler
A compiler is a software that converts the entire source program into machine language
before executing it. It converts the entire high-level language program into machine
language at once. It displays the errors for the whole program together.
Interpreter
An interpreter is also a software that converts the entire source program into machine
language before executing it. It translates and executes one statement at a time. It displays
the errors one line at a time and it goes to the next line only after the error is corrected.

