Translator

Computer-Studies

TRANSLATOR

A computer language translator is a program that translates a set of code written in one programming language into a functional equivalent of the code in another programming language.

Translator – usually included within programming software – translators convert high-level code into machine code.

  1. Assemblers

An assembler translates assembly language into machine code (also known as source code). Assembly language is a low-level language written in Mnemonics that closely reflects the operation of the CPU.

  1. Interpreter:
See also  KEYS ON KEYBOARD

Interpreter translates code into machine code, instruction by instruction – the CPU executes each instruction before the interpreter moves on to translate the next instruction.

  1. Compiler

A compiler translates the whole program into machine code before the program is run.

 

EVALUATION

  1. What is a translator
  2. List three types of translator
  3. Explain assemblers
See also  MOUSE

Leave a Reply

Your email address will not be published. Required fields are marked *