Levels of Programming Languages

Continues for 1 more pages »
Read full document

Levels of Programming Languages

By | August 2012
Page 1 of 2
Levels of programming languages
There are two major levels namely;
1.Low-level languages
2.High-level languages
These two languages are sub-divided into five generations.
1st and 2nd gen - low level languages
3rd, 4th, and 5th – high level

Xtics of low level languages.
1.They are easily understood by the computer directly i.e. they require little effort to translate into computer understandable form. 2.These languages are hardware oriented and thus not portable i.e. such that a program written for one computer cannot be installed and used on another. They are machine dependent.

1st Gen languages aka machine languages

They are written using binary logic. A program written in machine language might look like this
111000110000000110000011
0001110010001101
100011111111100010000001
Different CPU’s have different machine codes hence they are machine dependent. Such programs are hard to understand from the programmer’s point of view. Assembly languages
Were developed in order to overcome the difficulties of understanding and using machine langue. These langues rep’d the 1st attempt to make computer langues readable. They used mnemonics. Mnemonics is described as two or three letter words which is a set of symbolic operation codes.

MOVAX,15(move 15 to register AX)
SUB AX10(subtract 10 from the value of AX)
The programs needed an assembler to convert them into machine language that the computer can understand. The assembly languages are machine dependent. i.e they are specific for a particular machine High level languages

1.They are very close to human language (are English like) and can be read and understood even by people who are not computer experts. 2.They were machine independent i.e., could work on several different machines. This means that a programmer concentrates on problem solving during the programming session rather than how a machine operates (were problem oriented). High level languages can be...

Rate this document

What do you think about the quality of this document?

Share this document

Let your classmates know about this document and more at Studymode.com