SlideShare a Scribd company logo
1 of 23
COMPUTER LANGUAGE
LANGUAGE
LANGUAGE is a system of words or signs that people use to
express thoughts and feelings to each other
COMPUTER LANGUAGE
A computer languages are the language by which user command a
computer to work on the algorithm which a user has written to get an
output
TWO TYPES OF COMPUTER
LANGUAGES
.LOW-level languages
.HIGH-level languages
LOW LEVEL LANGUAGE
A low level programming language is a programming language
that provides little or no abstraction from a computers
instruction set architecture. It consist of numeric codes that is
0 and 1 . This codes are easily understandable to computer
but difficult to human
A low level language is used in two generations of computer
.First generation
.Second generation
First generation
languages or 1 GL
Represent the very
early, primitive
computer languages
that consisted entirely
of 1’s and 0’s –the
actual language that
the computer
understands (machine
language)
Second
generation
language or 2 GL
Represent a step up
from the first generation
languages . Allow for the
use of symbolic name
instead of just numbers.
Second generation
languages are known as
assembly languages
.code written in an
assembly language is
converted into machine
language(1GL).
HIGH LEVEL LANGUAGE
A high level language is a programming language
design to simplify computer programming .high
level source code contains easy to read syntax that
is later converted into a low-level language ,which
can be recognized and run by a specific CPU .most
common programming languages are considered
high level languages
Examples of high level language
High level
languages
3rd
Generation
5th
Generation
4th
Generation
3rd GENERATION LANGUAGE
• A third generation( programming )language or 3GL is a
grouping of programming languages that introduced
significant enhancements to second generation
languages , primarily intended to make the
programming language more programmer – friendly
• Commonly known 3GLs are –
• 1. COBOL(COMMON BUSINESS ORIENTED LANGUAGE)
• 2. C++
• 3 . JAVA
• 4.BASIC
4th GENERATION LANGUAGE
• A fourth generation programming language or 4GL is a
grouping of programming languages that attempted to get
closer than 3GLs to human languages, form of thinking and
conceptualization .
• 444GLs are designed to reduce the overall time, effort and
cost of software development .
Some examples are:
1. database query language e.g. SQL(structure query
language)
2. Focus
3.Metafont
4. PostScript
5th GENERATION LANGUAGE
• A fifth- generation programming language or 5GL is a
programming language based on solving using constraints
given to the program , rather than using an algorithm written
by a programmer.
• Most constraint-based and logic programming languages and
some other declarative languages are 5th generation
languages.
• EXAMPLE-PROLOG( PROgramming LOGic) is an example of a
logic programming language.
• OPS5 and Mercury are other examples of 5GL .
TRANSLATOR
• A program written in high level language is called
source code .To convert the source code into
machine code translator are needed .
• A translator takes a program written in source
language as input and convert it into a program in
target language as output.
• It also detect and reports the error during
translation.
There are three types of translator
ASSEMBLER INTERPRETER COMPILER
ASSEMBLER
It is a translator which is used to translate the assembly
language(2nd generation) into machine language(1st generation).
ASSEMBLERAssembly language Machine language
INTERPRETER
It is a translator which is used to convert program in high level
language to low level language(1G) .
It translates line by line and report the error, once it encounter during
the translation process.
Interpreter stops when a line of code is reached that contain an error.
Source
program
Input
INTERPRETER OUTPUT
COMPILER
Compiler is a translator which is used to
convert program in high level language to low
level language. It translates the entire program
and also reports the error .
Source
program
COMPILER Target
program
Error
message
Computer Language

More Related Content

What's hot

computer languages
computer languagescomputer languages
computer languagesRajendran
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representationgaurav jain
 
Computer Languages....ppt
Computer Languages....pptComputer Languages....ppt
Computer Languages....ppthashgeneration
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming languageVasavi College of Engg
 
Language translators
Language translatorsLanguage translators
Language translatorsAditya Sharat
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2REHAN IJAZ
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer languageSwarnima Tiwari
 

What's hot (20)

computer languages
computer languagescomputer languages
computer languages
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
Computer Languages....ppt
Computer Languages....pptComputer Languages....ppt
Computer Languages....ppt
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
Language translators
Language translatorsLanguage translators
Language translators
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Programming language
Programming languageProgramming language
Programming language
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
generation of programming language
generation of programming languagegeneration of programming language
generation of programming language
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 

Similar to Computer Language

Similar to Computer Language (20)

EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
Lec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there studyLec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there study
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Notacd071
Notacd071Notacd071
Notacd071
 
Computer and its language
Computer and its languageComputer and its language
Computer and its language
 
Notacd07
Notacd07Notacd07
Notacd07
 
Nota programming
Nota programmingNota programming
Nota programming
 
Ict topic 5
Ict topic 5Ict topic 5
Ict topic 5
 
Languages
LanguagesLanguages
Languages
 
La 5 Programming2
La 5   Programming2La 5   Programming2
La 5 Programming2
 
Programming Part 01
Programming Part 01Programming Part 01
Programming Part 01
 
La5 ict-topic-5-programming
La5 ict-topic-5-programmingLa5 ict-topic-5-programming
La5 ict-topic-5-programming
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
Basic Meaning of Computer languages
Basic Meaning of Computer languagesBasic Meaning of Computer languages
Basic Meaning of Computer languages
 
Programming language
Programming languageProgramming language
Programming language
 
Programming languages
Programming languages Programming languages
Programming languages
 

Recently uploaded

Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknowmakika9823
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...Call Girls in Nagpur High Profile
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...Pooja Nehwal
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaUnited Arab Emirates
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...nagunakhan
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一ga6c6bdl
 
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /WhatsappsBeautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsappssapnasaifi408
 
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...nagunakhan
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service ThanePooja Nehwal
 
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...Suhani Kapoor
 
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Pooja Nehwal
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberMs Riya
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service LucknowAlambagh Call Girl 9548273370 , Call Girls Service Lucknow
Alambagh Call Girl 9548273370 , Call Girls Service Lucknow
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
 
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /WhatsappsBeautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
 
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
 
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
 
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Low rate Call girls in Delhi Justdial | 9953330565
Low rate Call girls in Delhi Justdial | 9953330565Low rate Call girls in Delhi Justdial | 9953330565
Low rate Call girls in Delhi Justdial | 9953330565
 
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
 
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 

Computer Language

  • 2. LANGUAGE LANGUAGE is a system of words or signs that people use to express thoughts and feelings to each other
  • 3. COMPUTER LANGUAGE A computer languages are the language by which user command a computer to work on the algorithm which a user has written to get an output
  • 4. TWO TYPES OF COMPUTER LANGUAGES .LOW-level languages .HIGH-level languages
  • 5.
  • 6. LOW LEVEL LANGUAGE A low level programming language is a programming language that provides little or no abstraction from a computers instruction set architecture. It consist of numeric codes that is 0 and 1 . This codes are easily understandable to computer but difficult to human A low level language is used in two generations of computer .First generation .Second generation
  • 7. First generation languages or 1 GL Represent the very early, primitive computer languages that consisted entirely of 1’s and 0’s –the actual language that the computer understands (machine language)
  • 8. Second generation language or 2 GL Represent a step up from the first generation languages . Allow for the use of symbolic name instead of just numbers. Second generation languages are known as assembly languages .code written in an assembly language is converted into machine language(1GL).
  • 9. HIGH LEVEL LANGUAGE A high level language is a programming language design to simplify computer programming .high level source code contains easy to read syntax that is later converted into a low-level language ,which can be recognized and run by a specific CPU .most common programming languages are considered high level languages
  • 10. Examples of high level language
  • 12. 3rd GENERATION LANGUAGE • A third generation( programming )language or 3GL is a grouping of programming languages that introduced significant enhancements to second generation languages , primarily intended to make the programming language more programmer – friendly • Commonly known 3GLs are – • 1. COBOL(COMMON BUSINESS ORIENTED LANGUAGE) • 2. C++ • 3 . JAVA • 4.BASIC
  • 13. 4th GENERATION LANGUAGE • A fourth generation programming language or 4GL is a grouping of programming languages that attempted to get closer than 3GLs to human languages, form of thinking and conceptualization . • 444GLs are designed to reduce the overall time, effort and cost of software development . Some examples are: 1. database query language e.g. SQL(structure query language) 2. Focus 3.Metafont 4. PostScript
  • 14. 5th GENERATION LANGUAGE • A fifth- generation programming language or 5GL is a programming language based on solving using constraints given to the program , rather than using an algorithm written by a programmer. • Most constraint-based and logic programming languages and some other declarative languages are 5th generation languages. • EXAMPLE-PROLOG( PROgramming LOGic) is an example of a logic programming language. • OPS5 and Mercury are other examples of 5GL .
  • 15.
  • 16.
  • 17.
  • 18. TRANSLATOR • A program written in high level language is called source code .To convert the source code into machine code translator are needed . • A translator takes a program written in source language as input and convert it into a program in target language as output. • It also detect and reports the error during translation.
  • 19. There are three types of translator ASSEMBLER INTERPRETER COMPILER
  • 20. ASSEMBLER It is a translator which is used to translate the assembly language(2nd generation) into machine language(1st generation). ASSEMBLERAssembly language Machine language
  • 21. INTERPRETER It is a translator which is used to convert program in high level language to low level language(1G) . It translates line by line and report the error, once it encounter during the translation process. Interpreter stops when a line of code is reached that contain an error. Source program Input INTERPRETER OUTPUT
  • 22. COMPILER Compiler is a translator which is used to convert program in high level language to low level language. It translates the entire program and also reports the error . Source program COMPILER Target program Error message