Professional Documents
Culture Documents
UNIT - 2
01
02 Programming Language Programmer
03 Machine Language
04 Low level and High level Language
Language Processor 0
5
Language: Is the language understood by the computer. It consist of set of words,
symbols and codes
Machine understand only one language, is called Machine language. This language uses
binary digits 0 and 1 only.
Human language cant understood by computer, they convert it into machine language using some software.
PROGRAMMING LANGUAGE
Lots of programming languages are available now. All are developed for specific
uses
Low level languages are used to write programs that relate to the specific architecture and
hardware of a particular type of computer. They are closer to the native language of a computer
(binary).
Machine Language
Assembly Language
1. MACHINE LANGUAGE
Limitations:
Mnemonics are the Short sequence of letters. A for addition, D for Division….etc
COMPLER
A compiler is a computer program that translates computer code written in one programming
language into another language.
COMPILER/INTERPRETER
Compiler transforms code written in a high-level programming language into the machine
code, at once, before program runs.
whereas an Interpreter coverts each high-level program statement, one by one, into the
machine code, during program run
So Compiler is Faster
HIGH LEVEL LANGUAGES
1. Procedural Language
2. Non-Procedural Language
3. Natural Language
PROCEDURAL LANGUAGE
Programmer writes
Some English words are used such as ADD, PRINT..etc instructions that tell the
computer what to
accomplish and how
Procedural Language is also called Source Program
Source program must be translated into machine language using Compiler or interpreter.
Natural languages are associated with expert systems and Artificial intelligence
Language processor is a software that convert source program into machine language,
because computer does not understand assembly language or high level language.
Compiler: