Your SlideShare is downloading. ×
0
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
La 5   Programming2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

La 5 Programming2

5,056

Published on

Published in: Technology
2 Comments
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
5,056
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
256
Comments
2
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Generation of Programming Languages Prepared by: Norhasimah Mohamed, SMK Sungai Pusu, Gombak Selangor. 18032008
  • 2. Learning Outcomes <ul><li>Identify the generations of low-level programming languages with examples. </li></ul><ul><li>Identify the generations of high-level programming languages with examples. </li></ul>
  • 3. Low level of Programming Languages <ul><li>Machine Language - 1 st Generation </li></ul><ul><li>Assembly Language – 2 nd generation </li></ul>
  • 4. FIRST GENERATION OF PROGRAMMING LANGUAGE <ul><li>The first generation of programming language, or 1GL, is machine language . </li></ul><ul><li>Machine language is a set of instructions and data that a computer's central processing unit can execute directly. </li></ul><ul><li>Machine language statements are written in binary code, and each statement corresponds to one machine action. </li></ul>
  • 5.  
  • 6. SECOND GENERATION PROGRAMMING LANGUAGE <ul><li>The second generation programming language, or 2GL, is assembly language . </li></ul><ul><li>Assembly language is the human-readable notation for the machine language used to control specific computer operations. </li></ul><ul><li>An assembly language programmer writes instructions using symbolic instruction codes that are meaningful abbreviations or mnemonics. </li></ul><ul><li>An assembler is a program that translates assembly language into machine language. </li></ul><ul><li>Since assembly language consist of human-readable abbreviations, the assembler must first convert assembly language into machine-readable language before the computer can readily understand its instructions. </li></ul>
  • 7.  
  • 8.  
  • 9. High level of Programming Languages 3. Procedural language – 3 rd generation eg: COBOL, FOTRAN, Pascal, C, C++, 4. Non-procedural language – 4 th generation eg: SQL, NOMAD, FOCUS 5. Natural Language – 5 th generation eg: Prolog, Mercury
  • 10. THIRD GENERATION PROGRAMMING LANGUAGE <ul><li>The third generation of programming language, 3GL, or procedural language uses a series of English-like words, that are closer to human language, </li></ul><ul><li>to write instructions. </li></ul><ul><li>High-level programming languages make complex programming simpler and easier to read, write and maintain. </li></ul><ul><li>Programs written in a high-level programming language must be translated into machine language by a compiler or interpreter. </li></ul><ul><li>PASCAL, FORTRAN, BASIC, COBOL, C and C++ are examples of third generation programming languages. </li></ul>
  • 11.  
  • 12. FOURTH GENERATION PROGRAMMING LANGUAGE <ul><li>The fourth generation programming language or non-procedural language , often abbreviated as 4GL, enables users to access data in a database. </li></ul><ul><li>A very high-level programming language is often referred to as goal-oriented programming language because it is usually limited to a very specific application and it might use syntax that is never used in other programming languages. </li></ul><ul><li>SQL, NOMAD and FOCUS are examples of fourth generation programming languages. </li></ul>
  • 13.  
  • 14.  
  • 15. FIFTH GENERATION PROGRAMMING LANGUAGE <ul><li>The fifth generation programming language or visual programming language , is also known as natural language. </li></ul><ul><li>Provides a visual or graphical interface, called a visual programming environment, for creating source codes. </li></ul><ul><li>Fifth generation programming allows people to interact with computers without needing any specialised knowledge. </li></ul><ul><li>People can talk to computers and the voice recognition systems can convert spoken sounds into written words, but these systems do not understand what they are writing; they simply take dictation. </li></ul><ul><li>Prolog and Mercury are the best known fifth-generation languages. </li></ul>
  • 16.  

×