PROGRAMMING
LANGUAGES
Made by:
Zain Bilal Khan
G X Olevel
WHAT IS A PROGRAM?
A program is a specific set of ordered
operations for acomputer to
perform a particular task
TYPES OF LANGUAGES.
THERE ARE TWO TYPES OF LANGUAGES:
1. High level language
2. Low level language
1. HIGH LEVEL LANGUAGE
Ahigh-level languageis a programminglanguage
It enables a programmer to write programs that are more
or less independent of a particular type of computer.
Such languagesare consideredhigh-levelbecause they are
closer to humanlanguagesand further from
machinelanguages.
2.LOW LEVEL LANGUAGE.
In computer science, alow-levelprogramming language is
a programminglanguage
It provides little or no abstraction from a computer's
instruction set architecture—commands or functions in
thelanguage map closely to processor instructions.
Generally this refers to either machine code or
assemblylanguage.
TRANSLATORS
Atranslatoris acomputerprogram that
performs the translation of a program
written in a given programming language
into a functionally equivalent program in a
differentcomputerlanguage.
TRANSLATORS USE IN HIGH
LEVEL LANGUAGE.
THERE ARE TWO TYPES OF
TRANSLATORS USED IN HIGH LEVEL
LANGUAGE:
1.COMPILER
2. INTERPRETER
1. COMPILER
Acompileris a computer program (or a set
of programs) that transforms source code
written in a programming language (the
source language) into another computer
language (the target language)
2. INTERPRETER
An interpreter is a computer program
that reads a statement from a
program written in a high level
language, performs the action
specified and the does the same with
the next statement and so on.
TRANSLATOR USE IN LOW
LEVEL LANGUAGE.
THERE IS ONE TYPE OF TRANSLATOR
USED IN LOW LEVEL LANGUAGE:
1. Assembler
1. ASSEMBLER
An assembler is a computer program
that translates a program written in an
assembly language into machine code
so that it can be directly use by a
computer to perform a required task.
EXAMPLES OF HIGH LEVEL
LANGUAGE PROGRAMS.
1. C++
2. Delphi.
3. Java.
4 Pascal.
5. Python.
6. Visual basic.
EXAMPLES OF LOW LEVEL
LANGUAGE PROGRAMS.
1. Basic.
2. Fortran.