SlideShare a Scribd company logo
1 of 34
COMPUTER LANGUAGES
TRANSLATERS
and
LANGUAGE
Human Language Commonly Used to Express Feelings and understand
other person expression and emotions. It can be oral or gestural kind of
Communication
WHAT IS COMPUTER LANGUAGE
• A Computer language is a formal language that specifies a set of instructions that can
be used to produce various kinds of output. Programming languages generally consist of
instructions for a computer. Computer languages can be used to create programs that
implement specific algorithms.
TYPES OF COMPUTER LANGUAGE
1. LOW-LEVEL LANGUAGE
2. HIGH-LEVEL LANGUAGE
There are two types of computer language:
LOW-LEVEL LANGUAGE
The programming languages that are close to machine language are
called low-level Programming language.
There are two types of low-level language
Low-Level-Language
Machine Language Assembly Language
MACHINE LANGUAGE
The programming language in which instructions of the programs are written in
binary Form is called “machine language”.It is fundamental computer language. It is
very difficult to learn and use.There is no need to translate the program written in
machine language .It is because; the instructions are already in machine code i.e.
binary form.
ASSEMBLY LANGUAGE
The programming language in which instructions of the programs are written in
Symbols or English like words, is called “assembly language". Assembly language
was developed to make the programming task easier.it is very easy to learn than
“machine language". This language is usually used for writing system software and
firmware. In assembly language, symbols(or English like words) are used to write
program instruction, these symbols are known as “mnemonics”. For example , the
add instruction is written as “ADD SUB MUL AND” .
ADVANTAGES OF LOW-LEVEL LANGUAGE
• Programs developed using low level languages are fast and memory efficient.
• Programmers can utilize processor and memory in better way using a low level
language.
• There is no need of any compiler or interpreters to translate the source to machine code.
Thus, cuts the compilation and interpretation time.
• Low level languages provide direct manipulation of computer registers and storage.
• It can directly communicate with hardware devices.
DISADVANTAGES OF LOW-LEVEL LANGUAGE
• Programs developed using low level languages are machine dependent and are not
portable.
• It is difficult to develop, debug and maintain.
• Low level programs are more error prone.
• Low level programming usually results in poor programming productivity.
• Programmer must have additional knowledge of the computer architecture of particular
machine, for programming in low level language.
HIGH-LEVEL LANGUAGE
The programming languages that are close to human languages are called “high-
level language”. The program instructions written in these programming Languages
are similar to English language. These languages are easy to learn.
Some commonly used high-level language are as following:
 C/C++
 FORTRAN
 COBOL
 JAVA
 PASCAL
 BASIC
C/C++:
The C or C++ languages mostly used to develop system software such as operating system and
application software . Developed by Bell Laboratories in early 1970s.
FORTRAN:
FORTRAN stand for “FORmula TRAnslation” . This language is used to develop software for
solving mathematical problems. Developed at IBM in the mid-1950s.
COBOL:
COBOL stands for Common Business Oriented Language. This language is used to develop
software for business and commerce . Developed in 1959.
JAVA
Object-oriented language similar to C++. It is used for network programming and web page
designing.
PASCAL
It is used to develop software for scientific and business purposes.
BASIC
BASIC stands for Beginner All Purpose symbolic Instruction Code. It is used for beginners to
learn the basic concepts of programming . Designed in early 1960s by nonprofessionals and
BASIC remained popular in 1970s and 1990s.
ADVANTAGES OF HIGH-LEVEL LANGUAGE
• High level languages are programmer friendly. They are easy to write, debug and
maintain.
• It provide higher level of abstraction from machine languages.
• It is machine independent language.
• Easy to learn.
• Less error prone, easy to find and debug errors.
• High level programming results in better programming productivity.
DISADVANTAGES OF HIGH-LEVEL LANGUAGE
• It takes additional translation times to translate the source to machine code.
• High level programs are comparatively slower than low level programs.
• Compared to low level programs, they are generally less memory efficient.
• Cannot communicate directly with the hardware.
LANGUAGE TRANSLATORS
SOURCE CODE:
The program instruction written by following rules of any high-
level language. The source code is like English statement.
OBJECT CODE:
The translated program into machine code the source code
must be translated into machine code. Because the computer
only understand instructions in machine code.
WHY WE USE TRANSLATORS
Computer can only understand binary form and that is 0,1 ,so we have to
convert HLL into machine language. Therefore we use translators.
WHAT IS LANGUAGE TRANSLATORS:
A type of system software that is used to translate the program written in high-level
language (or assembly language) into machine code is called “language translator". Its
also known as language processor. Every language has its own language translator
program. it is difficult to write computer program directly in machine code. So we use
language translators.
Types of language Translators:
• Compiler
• Interpreter
• Assembler
COMPILER
The language translator program that translates the complete source code program
into machine code as a whole is called “compiler”. C/C++ are the examples of
compilers. The program translated into machine code is called the “object
program". The source code is translated into object code successfully if it is free of
errors. If there are errors in the source code, the compiler can successfully compile
the source code.
INTERPRETER
The language translator program that translates the complete source code program
into machine code statement by statement is called “Interpreter". It translates one
statement of source program into machine code and executes it immediately before
translating the next statement. It also display the errors.GWBASIC is an example of
an interpreter program.
statement interpreter
Object
code
DIFFERENCE BETWEEN COMPILER AND INTERPRETER
1) It translate source code into object
code as a whole.
2) It creates an object file.
3) Program execution is very fast
4) Translator program is not required to
run the program.
5) It is not easier to correct the errors in
source code.
1) It translate the source code into
machine code statement –by-
statement.
2) It does not creat an object file.
3) Program execution is slow.
4) Translator program is required to run
the program
5) It is easier to correct the errors.
COMPILER INTERPRETER
ASSEMBLER
The language translator program that translates the program written in assembly
language into machine code is called “assembler”.
Like 101010101010
WORKING OF ASSEMBLER
• Programmer write a program using a sequence of
assemble instructions.
• This sequence of assembler instructions known as
a source code or source program then specified to
assembler program when the program is started.
• It translates a source code into machine language.
• The output of the assembler program is called
object code or object program.
TYPES OF ASSEMBLER:
 Single pass assembler
 Two pass assembler
DIFFERENCE BETWEEN SINGLE PASS AND TWO PASS ASSEMBLER
1) Its perform in single pass.
2) In first pass itself its collects the
symbols , labels and assemble the
instruction.
1) Its perform in Two passes
2) In the first pass it collects the labels
and symbols and in the second pass it
assemble the instruction.
Single Pass Two Pass
If you have any kind of questions
…so you can ask us right now.
Computer language

More Related Content

What's hot

Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...SHUBHAM PATIDAR FISHERIES ADDAA
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer languageSwarnima Tiwari
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language adnan usmani
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer langkapil078
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representationgaurav jain
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresNisarg Amin
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / TranslatorsProject Student
 
Computer languages
Computer languagesComputer languages
Computer languagesAqdasNoor
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language conceptAfiq Sajuri
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languageseducationfront
 
What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.Questpond
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer languageBinamraRegmi
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computerKeval Goyani
 

What's hot (20)

Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
SD & D High and low level languages
SD & D High and low level languagesSD & D High and low level languages
SD & D High and low level languages
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
Computer language
Computer languageComputer language
Computer language
 
What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer language
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
 

Similar to Computer language

Computer languages
Computer languagesComputer languages
Computer languagesPrince Arsal
 
Program, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxProgram, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxHariharPaudel1
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer langkapil078
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generationMunawar Bukhari
 
computer languages
computer languagescomputer languages
computer languagesYasirali328
 
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming LanguagesMuhammad Hammad Waseem
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming VanessaBuensalida
 
Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxCoolGamer16
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxMahamaHaruna
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentationHafsaRao1
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer programAbhay Kumar
 

Similar to Computer language (20)

Computer languages
Computer languagesComputer languages
Computer languages
 
Program, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxProgram, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Language processors
Language processorsLanguage processors
Language processors
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
computer languages
computer languagescomputer languages
computer languages
 
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptx
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentation
 
C_NOTES.pdf
C_NOTES.pdfC_NOTES.pdf
C_NOTES.pdf
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer program
 

Recently uploaded

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 

Recently uploaded (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

Computer language

  • 1.
  • 3. LANGUAGE Human Language Commonly Used to Express Feelings and understand other person expression and emotions. It can be oral or gestural kind of Communication
  • 4. WHAT IS COMPUTER LANGUAGE • A Computer language is a formal language that specifies a set of instructions that can be used to produce various kinds of output. Programming languages generally consist of instructions for a computer. Computer languages can be used to create programs that implement specific algorithms.
  • 5. TYPES OF COMPUTER LANGUAGE 1. LOW-LEVEL LANGUAGE 2. HIGH-LEVEL LANGUAGE There are two types of computer language:
  • 6.
  • 7.
  • 8. LOW-LEVEL LANGUAGE The programming languages that are close to machine language are called low-level Programming language. There are two types of low-level language Low-Level-Language Machine Language Assembly Language
  • 9. MACHINE LANGUAGE The programming language in which instructions of the programs are written in binary Form is called “machine language”.It is fundamental computer language. It is very difficult to learn and use.There is no need to translate the program written in machine language .It is because; the instructions are already in machine code i.e. binary form.
  • 10. ASSEMBLY LANGUAGE The programming language in which instructions of the programs are written in Symbols or English like words, is called “assembly language". Assembly language was developed to make the programming task easier.it is very easy to learn than “machine language". This language is usually used for writing system software and firmware. In assembly language, symbols(or English like words) are used to write program instruction, these symbols are known as “mnemonics”. For example , the add instruction is written as “ADD SUB MUL AND” .
  • 11. ADVANTAGES OF LOW-LEVEL LANGUAGE • Programs developed using low level languages are fast and memory efficient. • Programmers can utilize processor and memory in better way using a low level language. • There is no need of any compiler or interpreters to translate the source to machine code. Thus, cuts the compilation and interpretation time. • Low level languages provide direct manipulation of computer registers and storage. • It can directly communicate with hardware devices.
  • 12. DISADVANTAGES OF LOW-LEVEL LANGUAGE • Programs developed using low level languages are machine dependent and are not portable. • It is difficult to develop, debug and maintain. • Low level programs are more error prone. • Low level programming usually results in poor programming productivity. • Programmer must have additional knowledge of the computer architecture of particular machine, for programming in low level language.
  • 13. HIGH-LEVEL LANGUAGE The programming languages that are close to human languages are called “high- level language”. The program instructions written in these programming Languages are similar to English language. These languages are easy to learn. Some commonly used high-level language are as following:  C/C++  FORTRAN  COBOL  JAVA  PASCAL  BASIC
  • 14. C/C++: The C or C++ languages mostly used to develop system software such as operating system and application software . Developed by Bell Laboratories in early 1970s. FORTRAN: FORTRAN stand for “FORmula TRAnslation” . This language is used to develop software for solving mathematical problems. Developed at IBM in the mid-1950s. COBOL: COBOL stands for Common Business Oriented Language. This language is used to develop software for business and commerce . Developed in 1959.
  • 15. JAVA Object-oriented language similar to C++. It is used for network programming and web page designing. PASCAL It is used to develop software for scientific and business purposes. BASIC BASIC stands for Beginner All Purpose symbolic Instruction Code. It is used for beginners to learn the basic concepts of programming . Designed in early 1960s by nonprofessionals and BASIC remained popular in 1970s and 1990s.
  • 16. ADVANTAGES OF HIGH-LEVEL LANGUAGE • High level languages are programmer friendly. They are easy to write, debug and maintain. • It provide higher level of abstraction from machine languages. • It is machine independent language. • Easy to learn. • Less error prone, easy to find and debug errors. • High level programming results in better programming productivity.
  • 17. DISADVANTAGES OF HIGH-LEVEL LANGUAGE • It takes additional translation times to translate the source to machine code. • High level programs are comparatively slower than low level programs. • Compared to low level programs, they are generally less memory efficient. • Cannot communicate directly with the hardware.
  • 19. SOURCE CODE: The program instruction written by following rules of any high- level language. The source code is like English statement. OBJECT CODE: The translated program into machine code the source code must be translated into machine code. Because the computer only understand instructions in machine code.
  • 20. WHY WE USE TRANSLATORS Computer can only understand binary form and that is 0,1 ,so we have to convert HLL into machine language. Therefore we use translators.
  • 21. WHAT IS LANGUAGE TRANSLATORS: A type of system software that is used to translate the program written in high-level language (or assembly language) into machine code is called “language translator". Its also known as language processor. Every language has its own language translator program. it is difficult to write computer program directly in machine code. So we use language translators.
  • 22.
  • 23. Types of language Translators: • Compiler • Interpreter • Assembler
  • 24. COMPILER The language translator program that translates the complete source code program into machine code as a whole is called “compiler”. C/C++ are the examples of compilers. The program translated into machine code is called the “object program". The source code is translated into object code successfully if it is free of errors. If there are errors in the source code, the compiler can successfully compile the source code.
  • 25.
  • 26. INTERPRETER The language translator program that translates the complete source code program into machine code statement by statement is called “Interpreter". It translates one statement of source program into machine code and executes it immediately before translating the next statement. It also display the errors.GWBASIC is an example of an interpreter program. statement interpreter Object code
  • 27. DIFFERENCE BETWEEN COMPILER AND INTERPRETER 1) It translate source code into object code as a whole. 2) It creates an object file. 3) Program execution is very fast 4) Translator program is not required to run the program. 5) It is not easier to correct the errors in source code. 1) It translate the source code into machine code statement –by- statement. 2) It does not creat an object file. 3) Program execution is slow. 4) Translator program is required to run the program 5) It is easier to correct the errors. COMPILER INTERPRETER
  • 28. ASSEMBLER The language translator program that translates the program written in assembly language into machine code is called “assembler”. Like 101010101010
  • 29. WORKING OF ASSEMBLER • Programmer write a program using a sequence of assemble instructions. • This sequence of assembler instructions known as a source code or source program then specified to assembler program when the program is started. • It translates a source code into machine language. • The output of the assembler program is called object code or object program.
  • 30.
  • 31. TYPES OF ASSEMBLER:  Single pass assembler  Two pass assembler
  • 32. DIFFERENCE BETWEEN SINGLE PASS AND TWO PASS ASSEMBLER 1) Its perform in single pass. 2) In first pass itself its collects the symbols , labels and assemble the instruction. 1) Its perform in Two passes 2) In the first pass it collects the labels and symbols and in the second pass it assemble the instruction. Single Pass Two Pass
  • 33. If you have any kind of questions …so you can ask us right now.