INTRODUCTION TO
COMPUTER
Lecture #4
Introduction To programming Languages
Language Translators
Programming Language
 Program:
 A program is a set of step by step instructions that directs
a computer to do certain tasks.
 Programming Language:
 Programming language is a set of rules that a
programmer uses to write computer programs.
 Programmer:
 A program is the I.T professional who writes computer
programs.
Types of Programming
languages
 Lo w Le ve llang uag e : It is the language that is very close to
machine.
 Machine lang uag e : Machine language is called language of
computers. It is also called binary language as it consists of tow
numbers 0s and 1s.
 Middle le ve llang uag e :
 Asse m bly lang uag e : it is the very next level of programming
language introduced after machine language. This language used
short and simple words know as mnemonics which stand for
machine code instructions.
 Hig h le ve llang uag e :
 high level languages are so called because they are very close to
Language Translators
 Asse m ble r:
 This type of translators only works for assembly language, it
converts program written in assembly language into machine
language.
 Co m pile r:
 They are program which convert the program written in high
level language into machine language whole program at a time
before execution.
 Inte rpre te r:
 They are program which convert the program written in high
level language into machine language one instruction at a time.
Source Program and Object
Program
 Source Program: The program that is written in any
language other than binary language is called source
program and it is so called source code.
 Object Program :The program that is in binary language is
called object program and this program is also called object
code.
Source Program and Object
Program
 Source Program: The program that is written in any
language other than binary language is called source
program and it is so called source code.
 Object Program :The program that is in binary language is
called object program and this program is also called object
code.

Programming Language

  • 1.
  • 2.
    Introduction To programmingLanguages Language Translators
  • 3.
    Programming Language  Program: A program is a set of step by step instructions that directs a computer to do certain tasks.  Programming Language:  Programming language is a set of rules that a programmer uses to write computer programs.  Programmer:  A program is the I.T professional who writes computer programs.
  • 4.
    Types of Programming languages Lo w Le ve llang uag e : It is the language that is very close to machine.  Machine lang uag e : Machine language is called language of computers. It is also called binary language as it consists of tow numbers 0s and 1s.  Middle le ve llang uag e :  Asse m bly lang uag e : it is the very next level of programming language introduced after machine language. This language used short and simple words know as mnemonics which stand for machine code instructions.  Hig h le ve llang uag e :  high level languages are so called because they are very close to
  • 5.
    Language Translators  Assem ble r:  This type of translators only works for assembly language, it converts program written in assembly language into machine language.  Co m pile r:  They are program which convert the program written in high level language into machine language whole program at a time before execution.  Inte rpre te r:  They are program which convert the program written in high level language into machine language one instruction at a time.
  • 6.
    Source Program andObject Program  Source Program: The program that is written in any language other than binary language is called source program and it is so called source code.  Object Program :The program that is in binary language is called object program and this program is also called object code.
  • 7.
    Source Program andObject Program  Source Program: The program that is written in any language other than binary language is called source program and it is so called source code.  Object Program :The program that is in binary language is called object program and this program is also called object code.

Editor's Notes

  • #4 Note: The contents have been written for school students.
  • #5 Note: The contents have been written for school students.