PROGRAMMING LANGUAGES
- A programming language is a language specifically designed to express computations that can be performed the computer. Programming languages are used to express algorithms or as a mode of human communication.
- While high-level programming languages are easy for the humans to read and understand, the computer actually understands the machine language that consists of numbers only.
- In between the machine languages and high-level languages, there is another type of language known as assembly language. Assembly languages are similar to machine languages, but they are much easier to program in because they allow a programmer to substitute names for numbers.
- However, irrespective of what language the programmer use, the program written using any programming languages has to be converted into machine language so that the computer can understand it. There are two ways to do this: compile the program or interpret the program
The question of which language is best depends on the following factors:
- The type of computer on which the program has to be executed
- The type of program
- The expertise of the programmer
Example :
FORTRAN is a good language for processing numerical data, but it does not lend itself very well to organizing large programs. Pascal can be used for writing well-structured and readable programs, but it is not as flexible as the C programming language. C++ goes one step ahead of C by incorporating powerful object-oriented features, but it is complex and difficult to learn.






0 comments:
Post a Comment