More Problems

Saturday, February 21, 2009

Computer Languages

A programming language is a source of communication between the user and the computer. A programmer writes programs with the help of programming language for solution of his problems on computer. Every language has its own rules for writing a computer program. The rules are called coding or source program.
Types of Programming Languages
A number of computer programming languages are available. Some programming languages are close to human languages and some close to machine language.

Low Level Languages :
Low level languages are ARM, MIPS, X86.

Mid Level Languages :
C,C++ language is a mid level language.

High Level Languages :
High level languages are BASIC, COBOL,C,C++, PASCAL, FORTRAN.

Language Processor

When we write any program in high level language, it does not run directly on computer. Therefore ,the program has to be converted into machine language .The program which converts source program into an object program is called language processor, language processor has two types.

1. Interpreter : The language processor which execute a source program by translation and execute on instruction at a time is called interpreter. A BASIC language processor is an example of interpreter.
2. Compiler : The language processor that translates program written in high level language into machine language as a whole is called the compiler.

No comments:

Post a Comment