Generations of Programming Languages
Generations of Programming Languages
S UNIT- 1
OF
PROGRAMMI
NG
LANGUAGES
B . Com (comp)- IV By R . Dhavan MCA, M.Sc
• Programming Languages are used to develop software
components
• A Software is a collection of programs to do a process.
• A program is a collection of instructions to do a task.
• Programming languages are divided into three
categories
• Machine level
• Low Level
• High Level
CLASSIFICATION OF GENERATIONS
• The programming language in terms of their
performance reliability and strongest can be grouped
into five different generations
1. First generation languages (1GL)
2. Second generation languages (2GL)
3. Third generation languages (3GL)
4. Fourth generation languages (4GL)
5. Fifth generation languages (5GL)
FIRST GENERATION
LANGUAGES
• This generation languages are called as Machine
Language
• They were used to program the computer system
at a very low level
• The machine language also referred to as the
native language of the computer system
• Usually this generation languages are written in
1’s and 0’s
SECOND GENERATION LANGUAGE
• This generation languages are also called low level language or assembly languages
• In assembly language symbolic codes used to represent opcodes
Advantages:
• It is easy to develop understand and modify the program developed
• The programs written in these languages are less prone to errors
THIRD GENERATION
• The languages developed in third and after generations are called high level languages.
• Using high level languages you can write programs easily and no need know system architecture.
Example: C, C ++, Java, Pascal, Cobol, etc.
Advantages
• It is easy to develop, learn and understand the program.
• Easy to maintain the program without errors
• Very less amount of time take to develop program using these languages.
FOURTH GENERATION