What are the 5 generations of programming languages?
A computer only understand binary language i.e., 0 and 1. Programming languages are classified into two types: Low level languages and High level languages. The first computer language developed by programmers was very complex. Nowadays, with the advancement in computer technology, the languages have also evolved. They have now become similar to English language and can be understood by us.
Generation of languages
1. First generation languages (1GLs):
First generation languages are called machine language. Machine language is a set of instructions written in binary form i.e. in a string of 0's and 1's. This language is very lengthy and complicated. The machine language is also different for every system. It is written only by experts as it requires much knowledge of the internal computer architecture which is different for different machine. As this language is very complex and understand only by experts, so this language never became popular among users.
2. Second generation languages (2GLs):
Second generation languages are called Assembly language. Assembly language is a low level language. This language allows the programmer to use symbolic codes called mnemonics instead of numbers. This language also required complete knowledge of the internal computer architecture. So, this language is also a machine dependent language. As compared to machine language the number of errors in coding was reduced. The assembler required a lot of memory space, thus this language is not suitable for small capacity computers.
3. Third generation languages (3GLs):
Third generation languages are called high level languages. High level language instructions written in english language so it is easy to write and understand. It is formed with the help of variables, arrays and complex arithemetic or boolean expressions. High level languages are machine independent language.
C, C++, Cobol, Fortran etc are the examples of high level languages.
4. Fourth generation languages (4GLs):
Fourth generation languages are also called high level languages. The fourth level languages are non-procedural programming language. They are used for the development of commericial business software. Java, Visual basic etc are the examples of fourth generation languages.
5. Fifth generation languages (5GLs):
Fifth generation languages are called Artifical intelligence languages. A fifth generation languages is a graphical development interface which is used to create source languages that are usually compiled with a 3rd generation language or fourth generation language compiler. Artificial intelligence are still in the development process. Voice recognition is the best example of AI.
In future it is also possible with the help of AI, humans can made there clone robots. Tesla like cars are also made with the help of such kind of technology.
Comments
Post a Comment
Please do not enter any spam link in the comment box.