Page 113 - Trackpad_V1_Book 6_Flipbook
P. 113
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
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 reads an entire set of instructions written in a high-level language and then translates
them into machine language. A major drawback of a compiler is that if there is an error in the
program, the programmer only comes to know it after the entire program has been translated.
INTERPRETER
An interpreter reads one line of instruction at a time and translates it into machine language. Any
error in the instruction is reported immediately and the programmer can correct it accordingly.
It is slower than the compiler.
Hashtag
#Algorithm: Step-by-Step instructions for doing any process
#Flowchart: Graphical representation of an algorithm
REVISIT
▶ An algorithm is a set of instructions designed to complete a specific task.
▶ A flowchart is the graphical representation of the process and the logic used in it.
▶ Low-level language is a programming language that deals with the computer’s hardware components.
▶ High-level languages are considered to be closer to human beings.
▶ The compiler reads an entire set of instructions written in HLL and then translates them into machine language.
▶ The interpreter reads one line of instruction at a time and translates it into machine language.
1. Tick ( ) the correct option.
a. Which shape is used to denote the processing of input in flowcharts?
(i) Rectangle (ii) Circle
(iii) Both (i) & (ii) (iv) Triangle
Algorithm, Flowchart and Mind Maps 111

