assignment
assignment
• Assignment
N0:01.
Name: - M.Arshman.
Subject: Programming
fundamental.
Topic:
Different Generations of
Programming-language
Programming languages have evolved
significantly over time, time, moving
From fundamental machine- specific code to
complex languages that are simpler to write and
understand. Each new generation of P-
language has improved Generation of P-
languages.
There are five generations of Programming
languages.
They are:
1- First-Generation language
2-Seond-Generation language
3-Third-Generation language
. 4-Fourth-Generation language
5- Fifth-Generation language
•Explaination:-
1-First-Generation languages. The first are also called
First languages Machine language. This language machine-
dependent. The machine language statements are written in -
binary code (0/1) form
・Advantage's
1- It is fast and efficient.
2- No translator is required.
Disadvantages:
1-it is Difficult to learn
2- Difficult to understand
2-Second-Generation languages.
Second-generation languages are also called Assembler
languages. Assembly language contains human-readable
notations that can be further converted to machine language
using an assembler.
Advantages:
1: Modifications are easy.
2- Corrections, location of error are easy.
Disadvantages:
1-Assembler required is required.
2-This language is architecture/ machine dependent
3- Third-Generation languages.
The third generation language is also called procedural language
it consists of the use of language series of English words that can
understand easily. At human is also called high programming
language.
Example:
C, Pascal, COBOL, FORTAN
Advantages:
1- It is human understandable
2- Same code can be copied to another machine
Dis advantages:
Compiler / interpreted is needed
2. Different compilers are heeded
Disadvantages:;-
1-Less Flexible.
2- Memory consumption is high
5-Fifth-Generation languages:-
The Fifth-generation languages are also called SGL. His based
the concept of artificial at uses the concept of Artificial .it uses the
concept of solving a problem algorithmically application Problem
Can be built on some constraints. Eg:- PROLOG, USP
Advantages
2- Machine can make decisions.
3- Easier than 3GL or 4GL learn and use.
Dis-advantages:-
1- Complex and code. Long are
2- More resource are required.