Wednesday, 10 September 2014

Programming Languages



Programming Languages:-
 Programming languages are the software used to give instructions to a machine. We know that computer is a machine that only understand 0 and 1. all programs are written in programming languages that translate the codes into machine language and tell the computer what to do. There are two types of programming languages.
Low level Programming Language:-
High Level Programming Language:-
Low level Programming Language:-
A low level programming language generally machine code. only a computer (machine) can understand it. It is very difficult for human to understand it
High Level Programming Language:-
A high level programming language is specifically written in a language that is easily understood by human. In order to make it understandable for a machine special software are used these software are as followed.
Assembler:  An assembler is a software that translate the assembly language program into a machine code.

Compiler: A compiler is more powerful then an assembler because it translate a High level language's program into machine code. it also checks for errors in a program. 

Interpreter:An interpreter is a program that translates the each statement of a program into machine code one by one. As it translates only one statement of the program at a time it works very slow.
 
Linker:  High level languages include some built in header files or libraries. These libraries contains some predefined functions, these basic functions which are essential for executing the program. These functions are linked to the libraries by a software called Linker.
Loader: Loader is a program that loads machine codes of a program into the system memory. Most often these programs are part of an operating system. Operating system is responsible for starting a program.

No comments:

Post a Comment