Transcript
Page 1: Programming Language Generations - wmich.edu Language...Programming Language Generations ... Hope to teach computers to learn ... What are the five generation levels of

7/17/11

1

Programming Language

Generations

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-2

Topics

!  Explain the five generations of programming languages

!  Effects of computer technology evolution on the generations of programming languages

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-3

Generations of Programming Languages

!  Occurring in “generations” !  Levels range from machine languages to natural

languages !  Lower levels - closer to machine language,

closer to 0’s and 1’s !  Higher levels - closer to human-like language

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-4

Generations of Languages

!  1st -- Machine languages

!  2nd -- Assembly languages

!  3rd -- High level procedural languages

!  4th -- Problem-oriented languages

!  5th -- Natural languages and visual

programming

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-5

Generations of Languages

!  First Generation: Machine languages - data represented in 1’s and 0’s

!  Second Generation: Assembly languages - abbreviations and mnemonics replace the 0’s and 1’s

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-6

Generations of Languages !  Third Generation: High level procedural

languages !  Express the logic for solving general problems !  Must translate procedural language into

machine language !  Compiler - Converts source code into object code

which is saved so it can be run later !  Interpreter - Converts one line of source code

into object code and executes it immediately - no object code is saved

Page 2: Programming Language Generations - wmich.edu Language...Programming Language Generations ... Hope to teach computers to learn ... What are the five generation levels of

7/17/11

2

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-7

Third Generation: Procedural Languages

!  Ada !  BASIC !  C/C++

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-8

Third Generation: Procedural Languages (continued)

!  COBOL (Business) !  FORTRAN-(Science) !  HTML !   Java !  Pascal

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-9

Fourth Generation: Problem-Oriented Languages

!  For solving specific problems !  Query languages !  Application generators

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-10

Fourth Generation: Problem-Oriented Languages

!   Specific problem-solving example !   Interactive Financial Planning System

!   Query Languages !   Structured Query Language uses such commands as

SELECT, COMPARE, DISPLAY, UPDATE !   Application Generators

!   Uses general task preprogrammed modules to generate code for a specific application

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-11

Fifth Generation: Natural Languages

!   Languages more like English, French, Japanese, etc. still being developed

!   Intent to humanize the computer-person interface

!   Hope to teach computers to learn

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-12

!  Application Service Providers (ASPs) !  Outsourcing programmers solving many difficulties

by providing custom solutions

!  “Pay as you go” software

!  Web-based applications !   In-House Programmers

!  Maintenance problems still surface !  More Natural Language Programming

A Look to the Future

Page 3: Programming Language Generations - wmich.edu Language...Programming Language Generations ... Hope to teach computers to learn ... What are the five generation levels of

7/17/11

3

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-13

Discussion Questions

!  What are the five generation levels of programming languages?

!  Describe the characteristics of the five generations of programming languages.

© 2005 The McGraw-Hill Companies, Inc. All Rights Reserved.

14-14

Participation Question

Fifth-generation languages (5GL) possess which one of the following characteristics?

A. All code must be complied before use. B. Software code always uses a combination of

objects. C. Software code uses English words and

symbols. D. Software code is written using binary codes. E. Coding is done with assembly language.


Top Related