Transcript Generations
Generations
First Generation
• Binary Codes
• Switch driven
• Machine
specific
• No translation
The vital clue ….
Second Generation
•
•
•
•
•
Assembly Language
Line for line translation
Mnemonics
Machine specific
AssemblerDisassembler
Third generation
• Natural language
• Block structured
• Machine
independent
• One to many
relationship with
lower levels
Fourth Generation
• Specific purpose in
mind
• Automatic
generation of code
• Particular products
for specific
purposes
Imperative and Declarative
• Imperative (procedural)
– Instructions that spell out exactly how
something is to be done
• Examples: Python, C++
• Declarative
– Instructions simply say what is to be done
and leave it open exactly how
• Examples: Structured Query Language (SQL)
Prolog
For each generation
• Where and why used
• Advantages
• Disadvantages
• Examples
Which Generation?
• Microsoft Word
• Rapid Database Application
Development
• Videogame
• Computer Virus
Conversion
• First to second
• Second to First
• Second to Third
• Third to Second
The Tower of Babel
• Programming languages are tools for
solving problems or for getting
computational jobs done. One size
does not fit all, so programming
languages were created for specific
purposes. Hardware and fashion also
play a part.
http://en.wikipedia.org/wiki/Alphabetical_list_of_programming_languages