There are five generation of Programming languages.They are:First Generation languages :These space low-level language like maker language.
You are watching: Prolog is an example of a fourth-generation programming language.
Attention reader! Don’t stop learning now. Obtain hold of every the crucial CS Theory ideas for SDE interviews v the CS theory Course in ~ a student-friendly price and also become sector ready.
This article is added by Paduchuri Manideep. If you prefer jajalger2018.org and would choose to contribute, girlfriend can also write an post using write.jajalger2018.org or email your post to review-team
jajalger2018.org. Check out your article showing up on the jajalger2018.org main page and assist other Geeks.Please compose comments if you discover anything incorrect, or you want to share an ext information about the topic discussed above.1. First Generation Language :The very first generation languages are additionally called maker languages/ 1G language. This language is an equipment dependent. The an equipment language statements space written in binary password (0/1 form) because the computer can recognize only binary language.Advantages :1. Fast & efficient as declaration are directly written in binary language.2. No translator is required.
Disadvantages :1. Complicated to learn binary codes.2. Complicated to know – both program & where the error occurred.2. Second Generation Language :The 2nd generation languages are additionally called assembler languages/ 2G language. Assembly language consists of human readable notations that can be further converted to maker language using an assembler.Assembler – counter assembly level instructions to device level instructions.Programmers have the right to write the code making use of symbolic indict codes the are systematic abbreviations that mnemonics. It is likewise known together low level language.Advantages :1. The is less complicated to recognize if contrasted to device language.2. Modifications are easy.
3. Correction & place of errors space easy.Disadvantages :1. Assembler is required.2. This language is style /machine dependence , different instruction set for various machines.3. Third Generation Language :The 3rd generation is additionally called procedural language /3 GL. It consists of use of series of English-like words that human have the right to understand easily, to create instructions. Its also called High Level Programming Language. Because that execution, program in this language requirements to be interpreted into maker language making use of Compiler/ Interpreter. Instance of this type of languages are : C, PASCAL, FORTRAN, COBOL etc.Advantages :1. Use of English-like words renders it human understandable language.2. Lesser variety of lines of code as compared to over 2 languages.3. Exact same code deserve to be replicated to other maker & executed on that machine by utilizing compiler particular to the machine.Disadvantages :1. Compiler/ interpreter is needed.2. Various compilers are essential for different machines.4. 4th Generation Language :The fourth generation language is additionally called a no – procedural language/ 4GL. It enables user to accessibility the database. Examples : SQL, Foxpro, focus etc.These language are additionally human friendly come understand.Advantages :1. Straightforward to recognize & learn.2. Much less time compelled for applications creation.3. The is much less prone to errors.
Disadvantages :1. Memory intake is high.2. Has negative control over Hardware.3. Much less flexible.5. Fifth Generation Language :The 5th generation language are additionally called as 5GL. That is based on the principle of fabricated intelligence. It supplies the ide that that fairly than resolving a problem algorithmically, an application can be build to deal with it based on some constraints, i.e., we make computer systems learn to solve any problem. Parallel processing & superconductors are provided for this type of language to make real artificial intelligence.Example : PROLOG, LISP etc.Advantages :1. Machines have the right to make decisions.2. Programmer initiative reduces to settle a problem.3. Easier than 3GL or 4GL to learn and also use.
See more: Why Did Shakespeare Move To London ? Why Did William Shakespeare Move To London
Disadvantages :1. Complex and long code.2. More resources are forced & they room expensive too.