Skip to main content

What are the 5 generations of programming languages?

 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

Popular posts from this blog

hpssc joa exam preparation (Joa It mcq pdf)

  HPSSC JOA - IT (939) Exam Preparation mcq questions for practice.            Q-1) Out of following, whom do you think is the most probable user of Light Pen? i) Computer Programmer ii) Graphic Designer iii) Journalist iv) computer Scientist       Ans. Graphic Designer       Q-2) Name the type of mouse which uses laser technology to detect the motion of the ball. i) Optical Mouse ii) Mechanical Mouse iii) Opto Mechanical Mouse iv) All of these          Ans. Optical Mouse       Q-3) Which is a vector based graphical printing device? i) Printers ii) Plotters iii) Scanners iv) Light Pen       Ans. Plotters       Q-4) Which type of plotter is used to produce continuous output such as plotting earthquake activity? i) Drum Plotter ii) Flatbed plotter iii) Disk platters iv) None of these       Ans. Drum Plotters     Q-5) The diameter ...

HPSSC - Junior Office Assistant Most important computer questions

 HPSSC- important computer questions for various examination Most important questions for various JOA (Junior Office Assistant) exams     Q-1) Which of the following is not a type of RAM ?  i) DRAM   ii) SRAM iii)SSD iv)SDRAM Ans. SSD Q-2)  Which of the following is the smallest and largest unit of memory? i) Nibble, PB ii) Byte,TB iii)KB,GB iv)byte,MB Ans. Nibble,PB Q-3) Super computer is a type of which of the following: i) Analog Computer ii) Digital Computer iii) Hybrid Computer iv) None of these Ans. Digital Computer Q-4) A microprocessor is a ................... where a large number of circuit elements  are integrated. i) electronic board ii) chip iii) mother board iv) none of these   Ans. Chip   Q-5) The speed of a CPU is determined by the number of .................. executed by it per second. i) megahertz ii) rules iii) instructions iv) processes   Ans. instructions Q-6) The speed of CPU is measured in i) MB ii) T...