Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Computer Languages

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 14

DEFINATION OF COMPUTER

LANGUAGES
A computer languages are the
languages by which a user
command a computer to work on
the algorithm which a user has
written to get an output.
Two types of computer languages
Low-level languages
High-level languages
Lower Level Languages
A low-level programming language is a
programming language that provides little
or no abstraction from a computers
instruction set architecture. It consists of
numeric codes i.e. 0 & 1. These codes are
easily understandable to computer but
difficult to human. A lower-level language is
used in two generations of computer
First generation
Second generation
First generation languages
(1GL)
Represent the very early
, primitive computer
languages that
considered entirely of 1s
and 0s the actual
language that the
computer
understands(machine
language)
Second generation languages (2GL)

Represent a step up from the


first generation languages .
Allow for the use of symbolic
names instead of just numbers.
Second generation languages
are known as assembly
languages.
Code written in an assembly
language is converted into
machine language (1GL)
CHARACTERSTICS OF LOW LEVEL
LANGUAGES
Direct memory management
Little-to-no abstraction from the
hardware
Register access
Superb performance
Advantages
Computational speed is very fast.
Directly understandable by
computer.

Disadvantages
Development of program in machine
language is very time consuming.
Error correction is tedious process.
HIGH LEVEL LANGUAGES
High-level programming languages allow
the specification of a problem solution in
terms closer to those used by human
beings.
These languages were designed to make
programming far easier , less error and to
remove the programmer from having to
know the details of the internal structure of
a particular computer.
This language is used in third generation.
Third generation languages
(3GL)
First introduced in the late 1950s
3GLs are much more machine
independent and more programmer-
friendly
Third generation languages are also
know as high level languages.
Most popular general-purpose
languages today, such asC,C+
+,JAVA,VISUAL BASIC , etc are also
third-generation languages.
TYPES
C++
Visual basic
Java
Javascript
C++
C++ is statically typed , free-form , multi-
paradigm , compiled , general purpose
programming language.
It is regarded as middle-level language , as it
comprises a combination of both high-level and
low-level language features.
Language features:
Operators
Operator overloading.
Templates.
Objects.
polymorphism
VISUAL BASIC
Visual basic (VB) is the third
generation event-driven
programming language and
integrated development environment
(IDE) from Microsoft for its COM
programming model.
Visual basic is relatively easy to learn
and use.
CHARACTERSTICS
Interpreted.
Dynamic constructs.
Poor performance.
Concise code.
Flexible syntax
Advantages
These are simple to adopt due to their
English like structure of statements.
They are easy to maintain and debug.

Disadvantages
The program written in high level language
are less efficient as they take more
execution time.
The compiler also consumes some memory
as it is required for the translation process.
THANK
YOU

You might also like