CH - 1 Programming Languages
CH - 1 Programming Languages
CH – 1
PROGRAMMING
LANGUAGES
1
YOU WILL LEARN ABOUT …
WHAT IS A PROGRAMME?
HIGH-LEVEL AND LOW-LEVEL LANGUAGES
TRANSLATION PROGRAMME
2
PROGRAM
A is a set of instruction that the computer
can understand. Since the computer can
understand only BINARY CODE all the
languages must be converted into binary
code. There are a variety of computer
languages and the one chosen depends on
the job that is being done.
3
LOW LEVEL LANGUAGE
The machine code language and assembly
language collectively called low level
languages language.
The language is easy to understand for the
computer but difficult for the programmer.
4
MACHINE LANGUAGES
MACHINE LANGUAGE IS THE LANGUAGE
DIRECTLY UNDERSTOOD BY THE COMPUTER.
It consists a series of 0s and 1s.
All other languages must be translated into
machine code before the instructions can be
carried out unless the program is already
written in machine code.
Machine code was specific for one particular
type of computer.
Program written in code needs no translation
therefore it is very fast.
It is also called Binary code.
5
PRACTICAL ACTIVITY
6
ASSEMBLY LANGUAGE
An assembly language is a language that uses
simple instructions such as ADD, SUB, LDA, is
used in preference to machine code, since it
is easy for the programmer to use and debug
it.
Once it is written in assembly language it
needs to be translated by a software called
ASSEMBLER into machine code.
7
HIGH LEVEL LANGUAGE
A high level language is developed keeping
the programmer in mind rather than a
computer.
It is not machine dependent.
The same program can be used on various
computers with very little alteration.
The instruction in this language are similar to
English. (which makes them easy to correct)
The points above can also be said the
ADVANTAGES OF HIGH LEVEL LANGUAGES.
8
SOME HIGH LEVEL LANGUAGES
COBOL – Common Business Oriented Language – 1959 It is mainly used for
business data processing.
10
MIND MAP
HIGH LEVEL
ASSEMBLY LEVEL HIGH LEVEL
LANGUAGE
LANGUAGE LANGUAGE
CODE
MACHINE CODE
11
THANKYOU
12