Skip to main content

Posts

Showing posts from November, 2013

Types and Differences of Language Processors or Translators in Programming

Q. Define Language processor or Translator. Explain different types of Language processors. Language Processors / Translator         Computer directly understands machine language only. That is why Machine language is called the native language of computer. Machine language is in binary form that is its instructions consists of strings of zeros and ones.         A program written in high-level or assembly language cannot be run on a computer directly. Firstly, it is converted into machine language. So there is a need to translate the source program into object code for a computer to execute it.  Definition of Language Processor  Language processor may be defined as a software that converts source programs into object program. Language processor is also called Language Translator.  Therefore, a language translator software will take a source program(that cannot be understood by computer) as input and then will convert it into object code(that can be understood by computer

Different Types of Programming Languages

What is a Program and Programming Language Program A set of instructions that tell a computer what to do is called program. A computer works according to the given instructions in the program. Computer programs are written in programming languages. A person who develops a program is called programmer. Programming Languages A set of words, symbols and codes used to write programs is called programming language. Different programming languages are available for writing different types of programs . With the help of computer language, a programmer tells a computer what to do.   Explain different Types of Programming Languages. There are two main types of computer programming languages. ·         low-level languages ·         high-level languages. Low Level Languages These languages are near to computer hardware and far from human languages. Computer can understand these languages easily. Following are two low-level languages: •      Machine Language •