Generations of Programming Language

Filter Course


Generations of Programming Language

Published by: Zaya

Published date: 17 Jun 2021

Generations of Programming Language Photo

Generations of programming language

Programming languages have been developed over the year in a phased manner. Each phase of development has made the programming language more user-friendly, easier to use, and more powerful. Each phase of improvement made in the development of the programming languages can be referred to as a generation. The programming language in terms of its performance reliability and robustness can be grouped into five different generations,

1.First-generation languages (1GL)
2.Second-generation languages (2GL)
3.Third-generation languages (3GL)
4.Fourth-generation languages (4GL)
5.Fifth-generation languages (5GL)

1. First Generation Language (Machine language)

The first-generation programming language is also called low-level programming language because it was used to program the computer system at a very low level of abstraction. i.e. at the machine level. The machine language also referred to as the native language of the computer system is the first-generation programming language. In machine language, a programmer only deals with a binary number.

Advantages of the first-generation language

  • They are translation-free and can be directly executed by computers.
  • The programs written in these languages are executed very speedily and efficiently by the CPU of the computer system.
  • The programs written in these languages efficiently utilize memory because it is possible to keep track of each bit of data.

2. Second Generation language (Assembly Language)

The second-generation programming language also belongs to the category of low-level- programming language. The second-generation language comprises assembly languages that use the concept of mnemonics for the writing program. In the assembly language, symbolic names are used to represent the opcode and the operand part of the instruction.

Advantages of second-generation language

  • It is easy to develop understand and modify the program developed in these languages are compared to those
  • developed in the first generation programming language.
  • The programs written in these languages are less prone to errors and therefore can be maintained with a great case.

3. Third Generation languages (High-Level Languages)

The third-generation programming languages were designed to overcome the various limitations of first and second-generation programming languages. The languages of the third and later generations are considered high-level languages because they enable the programmer to concentrate only on the logic of the programs without considering the internal architecture of the computer system.

Advantages of third-generation programming language

  • It is easy to develop, learn, and understand the program.
  • As the program written in these languages is less prone to errors they are easy to maintain.
  • The program written in these languages can be developed in very little time as compared to the first and second-generation languages.

Examples: FORTRAN, ALGOL, COBOL, C++, C

4. Fourth-generation language (Very High-level Languages)

The languages of this generation were considered as very high-level programming languages that required a lot of time and effort that affected the productivity of a programmer. The fourth-generation programming languages were designed and developed to reduce the time, cost and effort needed to develop different types of software applications.

Advantages of fourth-generation languages

  • It is easy to develop, learn, and understand the program.
  • As the program written in these languages is less prone to errors they are easy to maintain.
  • The program written in these languages can be developed in very little time as compared to the first and second-generation languages.

Examples: FORTRAN, ALGOL, COBOL, C++, C

4. Fourth-generation language (Very High-level Languages)

The languages of this generation were considered as very high-level programming languages that required a lot of time and effort that affected the productivity of a programmer. The fourth-generation programming languages were designed and developed to reduce the time, cost and effort needed to develop different types of software applications. These programming languages allow the efficient use of data by implementing various databases.
They require less time, cost, and effort to develop different types of software applications.

Advantages of fourth-generation languages

  • These programming languages allow the efficient use of data by implementing a various databases.
  • They require less time, cost, and effort to develop different types of software applications.
  • The program developed in these languages is highly portable as compared to the programs developed in the languages of other generations.

Examples: SOL, CSS, Coldfusion

5. Fifth-generation language (Artificial Intelligence Language)

The programming languages of this generation mainly focus on constraint programming. The major fields in which the fifth generation programming language are employed are Artificial Intelligence and Artificial Neural Networks

Advantages of fifth-generation languages

  • These languages can be used to query the database in a fast and efficient manner.
  • In this generation of language, the user can communicate with the computer system simply and easily.

    Examples: mercury, prolog, OPS5