There are 5 generation that Programming languages.They are:First Generation language :These room low-level languages like an equipment language.

You are watching: Prolog is an example of a fourth-generation programming language

Second Generation languages :These are low-level assembly languages offered in kernels and also hardware drives.Third Generation language :These room high-level languages prefer C, C++, Java, Visual an easy and JavaScript.Fourth Generation language :These room languages the consist the statements the are similar to declaration in the person language. These room used greatly in database programming and also scripting. Example of this languages incorporate Perl, Python, Ruby, SQL, MatLab(MatrixLaboratory).Fifth Generation language :These space the programming languages that have actually visual tools to build a program. Instances of fifth generation language include Mercury, OPS5, and Prolog.The first two generations are referred to as low level languages. The next three generations are dubbed high level languages.This article is added by Paduchuri Manideep. If you prefer and would prefer to contribute, you can additionally write an post using or email your article to review-team

Please create comments if you discover anything incorrect, or you want to share an ext information around the topic discussed above.1. An initial Generation Language :The first generation languages are also called device languages/ 1G language. This language is an equipment dependent. The machine language statements are written in binary password (0/1 form) since the computer can recognize only binary language.Advantages :1. Rapid & efficient as declaration are straight written in binary language.2. No translator is required.Disadvantages :1. Challenging to learn binary codes.

2. Complicated to recognize – both program & where the error occurred.2. Second Generation Language :The second generation languages are also called assembler languages/ 2G language. Assembly language contains human readable notations that can be more converted to device language using an assembler.Assembler – switch assembly level instructions to an equipment level instructions.Programmers deserve to write the code utilizing symbolic accuse codes that are coherent abbreviations that mnemonics. The is additionally known as low level language.Advantages :1. It is much easier to recognize if compared to device language.2. Modifications are easy.3. Correction & location of errors are easy.Disadvantages :

1. Assembler is required.2. This language is architecture /machine dependence , various instruction set for various machines.3. 3rd Generation Language :The 3rd generation is additionally called procedural language /3 GL. It consists of usage of collection of English-like words the human deserve to understand easily, to compose instructions. Its likewise called High Level Programming Language. Because that execution, regime in this language requirements to be analyzed into device language using Compiler/ Interpreter. Instance of this kind of languages room : C, PASCAL, FORTRAN, COBOL etc.Advantages :1. Use of English-like words provides it human being understandable language.2. Lesser number of lines of code as contrasted to above 2 languages.3. Very same code have the right to be duplicated to other machine & executed on that maker by utilizing compiler particular to the machine.Disadvantages :1. Compiler/ interpreter is needed.2. Various compilers are essential for different machines.4. Fourth Generation Language :The 4th generation language is likewise called a non – procedural language/ 4GL. It allows user to accessibility the database. Examples : SQL, Foxpro, focus etc.These language are likewise human friendly to understand.Advantages :1. Straightforward to recognize & learn.2. Much less time compelled for applications creation.3. It is much less prone to errors.Disadvantages :1. Memory consumption is high.

2. Has bad control end Hardware.3. Much less flexible.5. 5th Generation Language :The 5th generation language are additionally called together 5GL. The is based upon the concept of artificial intelligence. It uses the ide that that rather than resolving a trouble algorithmically, an application can be construct to solve it based upon some constraints, i.e., us make computer systems learn come solve any problem. Parallel processing & superconductors are offered for this kind of language to do real man-made intelligence.Example : PROLOG, LISP etc.Advantages :1. Machines have the right to make decisions.2. Programmer initiative reduces to solve a problem.3. Much easier than 3GL or 4GL come learn and use.

See more: How Often Should You Take Communion Or The Lord'S Supper Be Taken?

Disadvantages :1. Complex and long code.2. An ext resources are required & they space expensive too.Attention reader! Don’t stop learning now. Gain hold of all the necessary CS Theory principles for SDE interviews through the CS theory Course in ~ a student-friendly price and become industry ready.