Explain The Programming Language Generations
Explain The Programming Language Generations
First Generation
The first generation program language is pure machine code included only ones and zeros. Programmers
had to write their code by hand then transfer it to a computer via a punch tape, punch card or flicking
switches. There is no need to translate the code and it will run straight away. Below are its advantages
and disadvantages:
Advantages
Disadvantages
Second Generation
It is otherwise known as Assembly code. Its lines of code resemble English, making programming easier.
Use of mnemonic codes such as LDA for load and STA for store means the code is easier to read and
write. An assembler is used to convert the assembly code into object code or machine code which can
be directly understood by the computer.
Advantages
Disadvantages
A single line of third generation code can sum up several lines of object (machine) code, making coding
fast and also saving time.
Advantages
Disadvantages
Fourth Generation
Fourth-generation languages are designed to cut down on the programming work and the time needed
to develop software. This also results in a reduction in the cost of software development. Fourth gen
languages are developed for a specific purpose such as; to query databases (SQL), languages to make
reports (Oracle Reports) and languages to construct user interface (XUL).