Skip to main content

Language processors: Translator, Assembler, Compiler, Interpreter.


Translator: The program, which is used for translating code that a programmer writes into a form that the computer can execute (machine code), is called translator.

There are 3 types of system software used for translating__
1.      Compiler.
2.      Interpreter.
3.      Assembler.


Compiler: A compiler is a translator program that translates a high-level language program into machine language instructions all at a time.



Interpreter: An Interpreter is also a translator program that translates high-level source code into executable code.



Assembler: An assembler converts an assembly program into machine code. An assembly language is a low-level programming language for computers, microprocessors, microcontrollers, and other programmable devices. 


Popular posts from this blog

Draw the basic organization of computer

Answer:                 The basic organization of computer__ Input Unit: ·          It accepts (or reads) instructions and data from outside. ·          It converts these instructions and data in computer acceptable form ·          It supplies the converted instructions and data to the computer system for further processing. Central Processing Unit (CPU): Control Unit: Control unit of a computer system manages and coordinates the operations of all other components of the computer system. Arithmetic Logic Unit(ALU): Arithmetic logic unit of a computer system is the place, where the actual executions of instruction, takes place during processing operation. Storage Unit: Primary Memory: It is volatile ( loses data on power dissipation). It is used to hold running program instruction, data, intermediate results, and results of ongoing processing of jobs. Secondary Memory: It i

Describe the four basic data types. How could we extend the range of values they represent?

Answer: The basic four data types are: Data Type Integer Type Character Type Floating Point Type Void Type signed int short int long int unsigned unsigned int unsigned short int unsigned long int char signed char unsigned char float double long double