Genlanguage
Genlanguage
Generations of
Programming Language
What is a programming
language?
English is a natural language. It has
words symbols etc…
A programming language also has
words, symbols and rules.
The rules are called assyntax.
Generations of Programming languages
Generations ProgrammingLanguage
small task.
programs are machine dependent that
they are not executed if the hardware is
changed.
Flow of representation using assembly
language:
High-level language(1964- 71)
A programming language that provides
statements that are closer to the way the
humans solve problems than assembly
language.
Examples : COBAL , PASCAL ,
FORTRAN, C, C++ Etc…
The source code must be compiling by
using ‘compiler’.
Advantages:
It is a user-friendly language.
These programs are machine
independent.
Ifa program written from one computer
we can also use by other computers.
They are easy to learn, easy towrite and
easy to remember.
Disadvantages:
The programs willtake more time to
run.
Slower than low-level language,for
example
Assembler is faster than C.
Additional software i.e. compiler is
needed in order to use a high-level-
language.
Flow of representation using high-level
language:
Object oriented programming
language(1971-Present)
Object : An object is software, bundle of
related variables andmethods.
OOP is a programming language which uses
the objects and data structures consisting of
data fields and methods. This includes the
features such as data abstraction,
encapsulation, data hiding, polymorphism and
inheritance etc.
Examples: C++, Java,Python
Advantages:
It is a user-friendly language.
We can reuse and recycle the code.
Through the inheritance we caneliminate
redundant code.
The principle of data hidingsecures the
program.
We can extend the use ofexisting classes.
Software complexity can easily manage.
Disadvantages:
The oop programs are designedtrickily.
To design an oop program we need to
do proper planning and properdesign.
To develop an oop program,
programmer needs proper skills suchas
design skills, programming skills,
technical skills etc.
Flow of representation using oop
language:
Artificial Intelligence(present
and beyond)
A.I is a science of designing and programming
computers to doing intelligent things and to
simulate human thought process.
It is a high levellanguage.
Itis a logic language which is done by less
programmer control.
We need expert systems.
Examples: Prolog.
Advantages:
They are more accurate and speed than the
humans.
We can use this in dangerousenvironments.
We can access them 24/7. They don’t needsleep
or anybreaks.
It makes our life easy, safety and more
productivity.
Duplication of them is veryeasy.
Disadvantages:
They required high standardof
maintenance.
Its programming is very complex andit
is very expensive to buy.
It doesn’t have common sense; it can
understand only commands and not
situations.
Artificial intelligence:
Reviews
Reviews
There are five generation of Programming languages. They are:
First Generation Languages :
These are low-level languages like machine language.
The first two generations are called low level languages. The next three
generations are called high level languages.