SlideShare a Scribd company logo
1 of 23
Introduction: Programming
Languages
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
What is a Programming Language
• A programming language is a set of rules that
provides a way of telling a computer what
operations to perform.
• A programming language is a set of rules for
communicating an algorithm
• It provides a linguistic framework for
describing computations
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
What is a Programming Language?
A programming language is a notational system for
describing computation in a machine-readable and
human-readable form.
A programming language is a tool for developing
executable models for a class of problem domains.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Types of Programming Languages
• First Generation Languages
• Second Generation Languages
• Third Generation Languages
• Fourth Generation Languages
• Fifth Generation Languages
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
First Generation Languages
• Machine language
– Operation code – such as addition or
subtraction.
– Operands – that identify the data to be
processed.
– Machine language is machine dependent as
it is the only language the computer can
understand.
– Very efficient code but very difficult to write.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Second Generation Languages
• Assembly languages
– Symbolic operation codes replaced binary
operation codes.
– Assembly language programs needed to be
“assembled” for execution by the computer.
Each assembly language instruction is
translated into one machine language
instruction.
– Very efficient code and easier to write.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Third Generation Languages
• Closer to English but included simple
mathematical notation.
– Programs written in source code which must
be translated into machine language programs
called object code.
– The translation of source code to object code
is accomplished by a machine language
system program called a compiler.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Third Generation Languages (cont..)
• Alternative to compilation is interpretation
which is accomplished by a system
program called an interpreter.
• Common third generation languages
– FORTRAN
– COBOL
– C and C++
– Visual Basic
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Fourth Generation Languages
• A high level language (4GL) that requires
fewer instructions to accomplish a task
than a third generation language.
• Used with databases
– Query languages
– Report generators
– Forms designers
– Application generators
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Fifth Generation Languages
• Declarative languages
• Functional: Lisp
– Also called applicative
– Everything is a function
• Logic: Prolog
– Based on mathematical logic
– Rule- or Constraint-based
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
The principle paradigms
• Imperative Programming (C)
• Object-Oriented Programming (C++)
• Logic/Declarative Programming (Prolog)
• Functional/Applicative Programming (Lisp)
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Programming Languages
• Two broad groups
– Traditional programming languages
• Sequences of instructions
• First, second and some third generation languages
– Object-oriented languages
• Objects are created rather than sequences of
instructions
• Some third generation, and fourth and fifth
generation languages
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Traditional Programming
Languages
• FORTRAN
– FORmula TRANslation.
– Developed at IBM in the mid-1950s.
– Designed for scientific and mathematical
applications by scientists and engineers.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Traditional Programming
Languages (cont’d.)
• COBOL
– COmmon Business Oriented Language.
– Developed in 1959.
– Designed to be common to many different
computers.
– Typically used for business applications.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Traditional Programming
Languages (cont’d.)
• BASIC
– Beginner’s All-purpose Symbolic Instruction
Code.
– Developed at Dartmouth College in mid
1960s.
– Developed as a simple language for students
to write programs with which they could
interact through terminals.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Traditional Programming
Languages (cont’d.)
• C
– Developed by Bell Laboratories in the early
1970s.
– Provides control and efficiency of assembly
language while having third generation
language features.
– Often used for system programs.
– UNIX is written in C.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Object-Oriented Programming
Languages
• Simula
– First object-oriented language
– Developed by Ole Johan Dahl in the 1960s.
• Smalltalk
– First purely object-oriented language.
– Developed by Xerox in mid-1970s.
– Still in use on some computers.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Object-Oriented Programming
Languages (cont’d.)
• C++
– It is C language with additional features.
– Widely used for developing system and
application software.
– Graphical user interfaces can be developed
easily with visual programming tools.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Object-Oriented Programming
Languages (cont’d.)
• JAVA
– An object-oriented language similar to C++
that eliminates lots of C++’s problematic
features
– Allows a web page developer to create
programs for applications, called applets that
can be used through a browser.
– Objective of JAVA developers is that it be
machine, platform and operating system
independent.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Special Programming Languages
(cont’d.)
• HTML
– HyperText Markup Language.
– Used on the Internet and the World Wide Web
(WWW).
– Web page developer puts brief codes called
tags in the page to indicate how the page
should be formatted.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Special Programming Languages
(cont’d.)
• XML
– Extensible Markup Language.
– A language for defining other languages.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Criteria in a good language design
• Writability: The quality of a language that enables a
programmer to use it to express a computation clearly,
correctly, concisely, and quickly.
• Readability: The quality of a language that enables a
programmer to understand and comprehend the nature of
a computation easily and accurately.
• Reliability: The quality of a language that assures a
program will not behave in unexpected or disastrous ways
during execution.
• Maintainability: The quality of a language that eases
errors can be found and corrected and new features
added.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
Criteria (Continued)
 Generality: The quality of a language that avoids special
cases in the availability or use of constructs and by
combining closely related constructs into a single more
general one.
 Uniformity: The quality of a language that similar features
should look similar and behave similar.
 Extensibility: The quality of a language that provides some
general mechanism for the user to add new constructs to a
language.
 Standardability: The quality of a language that allows
programs written to be transported from one computer to
another without significant change in language structure.
 Implementability: The quality of a language that provides
a translator or interpreter that can be written.
3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL

More Related Content

What's hot

What's hot (20)

Itc chapter # 8
Itc   chapter # 8Itc   chapter # 8
Itc chapter # 8
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
C programming
C programmingC programming
C programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
D turner techreport
D turner techreportD turner techreport
D turner techreport
 
Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2
 
Cpu (Coumputer languages)
Cpu (Coumputer languages)Cpu (Coumputer languages)
Cpu (Coumputer languages)
 
Introduction of c programming
Introduction of c programmingIntroduction of c programming
Introduction of c programming
 
PROGRAMMING LANGUAGES
PROGRAMMING LANGUAGESPROGRAMMING LANGUAGES
PROGRAMMING LANGUAGES
 
Evolution of Computer Languages
Evolution of Computer LanguagesEvolution of Computer Languages
Evolution of Computer Languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Evolution of Programming Languages
Evolution of Programming LanguagesEvolution of Programming Languages
Evolution of Programming Languages
 
Introduction to programming c
Introduction to programming cIntroduction to programming c
Introduction to programming c
 
Chapter 1 - Overview of C
Chapter 1 - Overview of CChapter 1 - Overview of C
Chapter 1 - Overview of C
 
df
dfdf
df
 
Comparative study of programming languages
Comparative study of programming languagesComparative study of programming languages
Comparative study of programming languages
 
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenation
 
PROGRAMMING AND LANGUAGES
PROGRAMMING AND LANGUAGES  PROGRAMMING AND LANGUAGES
PROGRAMMING AND LANGUAGES
 

Similar to 2.3 programming language show

English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacionVillalba Griselda
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming LanguagesManish Kharotia
 
evolution of programming.ppt
evolution of programming.pptevolution of programming.ppt
evolution of programming.pptDanielPerez457035
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer ProgrammingHussain Buksh
 
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 studysamiullahamjad06
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming LanguageTeddy Marcus
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
Program & language generation
Program & language generationProgram & language generation
Program & language generationBuxoo Abdullah
 
maincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxmaincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxKaruthayya
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxAryaDutta4
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)Suneel Dogra
 

Similar to 2.3 programming language show (20)

English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
evolution of programming.ppt
evolution of programming.pptevolution of programming.ppt
evolution of programming.ppt
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Evolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/SystemEvolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/System
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
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
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
WEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTWEBSITE DEVELOPMENT
WEBSITE DEVELOPMENT
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
maincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxmaincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptx
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
 
8505548.ppt
8505548.ppt8505548.ppt
8505548.ppt
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 

Recently uploaded

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

2.3 programming language show

  • 2. What is a Programming Language • A programming language is a set of rules that provides a way of telling a computer what operations to perform. • A programming language is a set of rules for communicating an algorithm • It provides a linguistic framework for describing computations 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 3. What is a Programming Language? A programming language is a notational system for describing computation in a machine-readable and human-readable form. A programming language is a tool for developing executable models for a class of problem domains. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 4. Types of Programming Languages • First Generation Languages • Second Generation Languages • Third Generation Languages • Fourth Generation Languages • Fifth Generation Languages 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 5. First Generation Languages • Machine language – Operation code – such as addition or subtraction. – Operands – that identify the data to be processed. – Machine language is machine dependent as it is the only language the computer can understand. – Very efficient code but very difficult to write. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 6. Second Generation Languages • Assembly languages – Symbolic operation codes replaced binary operation codes. – Assembly language programs needed to be “assembled” for execution by the computer. Each assembly language instruction is translated into one machine language instruction. – Very efficient code and easier to write. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 7. Third Generation Languages • Closer to English but included simple mathematical notation. – Programs written in source code which must be translated into machine language programs called object code. – The translation of source code to object code is accomplished by a machine language system program called a compiler. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 8. Third Generation Languages (cont..) • Alternative to compilation is interpretation which is accomplished by a system program called an interpreter. • Common third generation languages – FORTRAN – COBOL – C and C++ – Visual Basic 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 9. Fourth Generation Languages • A high level language (4GL) that requires fewer instructions to accomplish a task than a third generation language. • Used with databases – Query languages – Report generators – Forms designers – Application generators 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 10. Fifth Generation Languages • Declarative languages • Functional: Lisp – Also called applicative – Everything is a function • Logic: Prolog – Based on mathematical logic – Rule- or Constraint-based 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 11. The principle paradigms • Imperative Programming (C) • Object-Oriented Programming (C++) • Logic/Declarative Programming (Prolog) • Functional/Applicative Programming (Lisp) 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 12. Programming Languages • Two broad groups – Traditional programming languages • Sequences of instructions • First, second and some third generation languages – Object-oriented languages • Objects are created rather than sequences of instructions • Some third generation, and fourth and fifth generation languages 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 13. Traditional Programming Languages • FORTRAN – FORmula TRANslation. – Developed at IBM in the mid-1950s. – Designed for scientific and mathematical applications by scientists and engineers. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 14. Traditional Programming Languages (cont’d.) • COBOL – COmmon Business Oriented Language. – Developed in 1959. – Designed to be common to many different computers. – Typically used for business applications. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 15. Traditional Programming Languages (cont’d.) • BASIC – Beginner’s All-purpose Symbolic Instruction Code. – Developed at Dartmouth College in mid 1960s. – Developed as a simple language for students to write programs with which they could interact through terminals. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 16. Traditional Programming Languages (cont’d.) • C – Developed by Bell Laboratories in the early 1970s. – Provides control and efficiency of assembly language while having third generation language features. – Often used for system programs. – UNIX is written in C. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 17. Object-Oriented Programming Languages • Simula – First object-oriented language – Developed by Ole Johan Dahl in the 1960s. • Smalltalk – First purely object-oriented language. – Developed by Xerox in mid-1970s. – Still in use on some computers. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 18. Object-Oriented Programming Languages (cont’d.) • C++ – It is C language with additional features. – Widely used for developing system and application software. – Graphical user interfaces can be developed easily with visual programming tools. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 19. Object-Oriented Programming Languages (cont’d.) • JAVA – An object-oriented language similar to C++ that eliminates lots of C++’s problematic features – Allows a web page developer to create programs for applications, called applets that can be used through a browser. – Objective of JAVA developers is that it be machine, platform and operating system independent. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 20. Special Programming Languages (cont’d.) • HTML – HyperText Markup Language. – Used on the Internet and the World Wide Web (WWW). – Web page developer puts brief codes called tags in the page to indicate how the page should be formatted. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 21. Special Programming Languages (cont’d.) • XML – Extensible Markup Language. – A language for defining other languages. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 22. Criteria in a good language design • Writability: The quality of a language that enables a programmer to use it to express a computation clearly, correctly, concisely, and quickly. • Readability: The quality of a language that enables a programmer to understand and comprehend the nature of a computation easily and accurately. • Reliability: The quality of a language that assures a program will not behave in unexpected or disastrous ways during execution. • Maintainability: The quality of a language that eases errors can be found and corrected and new features added. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL
  • 23. Criteria (Continued)  Generality: The quality of a language that avoids special cases in the availability or use of constructs and by combining closely related constructs into a single more general one.  Uniformity: The quality of a language that similar features should look similar and behave similar.  Extensibility: The quality of a language that provides some general mechanism for the user to add new constructs to a language.  Standardability: The quality of a language that allows programs written to be transported from one computer to another without significant change in language structure.  Implementability: The quality of a language that provides a translator or interpreter that can be written. 3/9/2020 VBU/MBA/Kujur/CAM/U I/CPL