Programming language Generations

Programming language Generations 

Add caption
Programming language: A programming language is a computer language to create a standard form of command operating the computing system. This command can be explained into code understood by the machine. A programming language is also known as a computer system,  computer language or
programming system. The program is a sequence of instructions related to data. A programming language is written in a high-level language which is nearly human languages which are more complex than the machine language. Machine language is the computer understandable language which is called the low-level language.

A basic example of a computer language is written in C programming language bellow:-
 #include<stdio.h>
int main(void)
    printf( "C is a programming language");
    return 0;
}

Hierarchy of Computer language: 
High Level Language
Assembly Language 
Machine Languadge
Computer Hardware
There have been many programming languages are listed and the programming language year-wise rank bellow:



The programming language is classified in several programming language generations. This classification indicates that how programming power is increasing. New features, easiest ways are adding continuously by generation. Here is the short review of all generations:- 

  • The First Generation Programming languages (1GL): This is a low-level programming language which is machine language. This instruction was given in the switches of computers and directly to the CPU. There was mainly no compiler or assembler to process the instructions in 1GL.

  • The Second Generation Languages(2GL): These programming languages were popular during the late 1950s. It is also a low-level assembly language. Here program can be written in symbolically. 2GL is mostly used for the implementation of low kernels and drivers and
    processing-intensive applications such as computer games, graphics manipulation applications, and video editing applications. So the second generation languages use an assembler to convert language statements to machine language. 

  • The Third Generation Language (3GL): These are high-level languages such as C, C++, Java, JavaScript, and visual basic. English words are used to denote variables, programming structures, and command structures. 3GLs are more machine-independent and more programmers friendly as well. These are more quintessence than the previous languages. In order to execute the programs written in third-generation language, the source program is to be translated to the binary form and it is done by an interpreter and compiler. Compiler and interpreters are used for translations, it translates the program line by line. 
          The following language of 3GLs:-    1. Fortran    5. Cobol
                                                                       2. Basic        6. Pascal
                                                                       3.             7. C++
                                                                       7. Java


  • The Fourth Generation Language (4GL): It materially mentions the software packages which are mostly written in high-level languages like C, C++, Java, Python for any specific application. A user can edit a task without writing any programs. The user has to command which calls the specific program that is available in the package only. Oracle,  MS Word, Page maker, SQL, AutoCAD are mostly common packages in the fourth generation. These programs are specially developed for ascertaining some specific tasks. 4GLs are more comfortable than 3GLs, 2GLs. 1GLs. Cause It's more understandable for humans. 

  • The Fifth Generation Language (5GL): It is a programming language created on problem-solving using constraints what are given to the program. It is designed to make the computer solve a given problem without a programmer. these programming languages have a visual tool to develop a program. Example of fifth-generation language includes Mercury, OPS5, and Prolog.

Here is a short video about all the programming language generation.

    Comments

    Popular posts from this blog