SlideShare a Scribd company logo
1 of 25
Programming Language
Concepts
Lecture 1- By Sadaf
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 tool for developing executable
models for a class of problem domains.
Syntax, Semantics and Pragmatics
 Syntax:
Structure of Programs (tokens, keywords, statements)
 Semantics:
What are meant by programs.
 Pragmatics:
Language Paradigms
 Imperative/ Procedural Languages
 Applicative/ Functional Languages
 Rule-based / Declarative Languages
 Object-Oriented Languages
Imperative/ Procedural Languages
 Statement Oriented languages that change machine state
EX: (C, Pascal, FORTRAN, COBOL)
 Computation: a sequence of machine states(contents of memory)
Syntax: S1, S2, S3,… where S1, S2,… are statements
Imperative/ Procedural Languages
 Imperative programs emphasize “tell what to do”
 They focus on evaluating expressions and storing results in a variable.
 The most common imperative language consists of statements such as :
a=10;
b= 5;
c=a + b;
Applicative/ Functional Languages
 Programming consists of building the function that computes the answer
EX: (ML, LISP)
 Computation: Function Composition is major operation
Syntax: F1(F2(F3(X))) where F1, F2,F3 are functions and X is data.
Rule-Based / Declarative Languages
 Computation: Actions are specified by rules that check for the presence of
certain enabling conditions. EX (Prolog)
 The order of execution is determined by the enabling conditions, not by
the order of the statements.
Syntax: Condition Action
Object-Oriented Languages
 Imperative languages that merge applicative design with imperative
statements.
Ex: (java, C++, Smalltalk)
Syntax: set of objects (classes) containing data (imperative concepts) and
methods (applicative concepts)
Different Types of Programming Domains
 Scientific applications
 Business applications
 Artificial intelligence
 Scripting languages
 Systems Programming
Programming Domains (Cont.’…)
 Scientific applications
-Large number of floating point computations
-Ex: Fortran
 Business applications
-Produce reports, use decimal numbers and characters
- Ex: COBOL
Programming Domains (Cont.’…)
 Artificial intelligence
-Symbols rather than number manipulated
-Ex: LISP
 Systems Programming
-Need efficiency because of continuous use
- Ex: C
Programming Domains (Cont.’…)
 Scripting Languages
-Eclectic collection of languages : markup (e.g., XHTML), scripting
(e.g., PHP), general-purpose (e.g., Java)
Criteria for Language Evaluation
 Readability :the ease with which programs can be read and
understood
 Writeability :the ease with which a language can be used to create
programs.
 Reliability :conformance to specifications (i.e., performs to its
specifications)
 Cost : the ultimate total cost
Criteria for Language Evaluation (Cont..)
 Readability
o Overall simplicity “Strongly affects readability”
-Too many features make the language difficult to learn.
Programmers tend to learn a subsets of the language and ignore its other
features. Ex. ALGOL 60
- Multiplicity of features is also a complicating characteristics
“having more than one way to accomplish a particular operation. Ex. Java
Criteria for Language Evaluation (Cont..)
 Readability
o Orthogonality
-Makes the language easy to learn and read.
- Meaning is context independent. Pointers should be able to point to
any type of variable or data structure.
Criteria for Language Evaluation (Cont..)
 Readability
o Control Statements
-It became widely recognized that indiscriminate use of goto statements
severely reduced program readability.
- Basic and Fortran in the early 70s lacked the control statements that
allow strong restrictions on the use of gotos, so writing highly readable
programs in those languages was difficult.
Criteria for Language Evaluation (Cont..)
 Readability
o Control Statements
-Since then, languages have included sufficient control structures.
- The control statement design of a language is now a less important
factor in readability that it was in the past.
Criteria for Language Evaluation (Cont..)
 Readability
o Data Types and structures
-The presence of adequate facilities for defining data types and
structures in a language is another significant aid to reliability.
- Ex: Boolean type.
• timeout =1 or
• timeout=true
Criteria for Language Evaluation (Cont..)
 Readability
o Syntax Considerations
-The syntax of the elements of a language has a significant effect on
readability.
-Identifier forms: Restricting identifiers to very short length detracts from
readability. ANSI BASIC(1978) an identifier could consist only of a single
letter followed by a single digit.
Criteria for Language Evaluation (Cont..)
 Writability
-It is a measure of how easily a language can be used to create programs
for a chosen problem domain
- Most of the language characteristics that affect readability also affect
writability.
Criteria for Language Evaluation (Cont..)
 Writability
o Support for abstraction
-The ability to define and use complex structures or operations in ways
that allow details to be ignored.
-
Criteria for Language Evaluation (Cont..)
 Writability
o Simplicity and Orthogonality
-A smaller number of primitive constructs and a consistent set of rules
for combining them is much better than simply having a large number of
primitives.
Criteria for Language Evaluation (Cont..)
 Reliability
o Type checking
-is simply testing for type errors in a given program, either by the
compiler or during program execution.
o Exception handling
-the ability to intercepts run-time errors, take corrective measures, and
then continue is a great aid to reliability.
Criteria for Language Evaluation (Cont..)
 Cost
o Training programmers to use language.
o Compiling Programs
o Maintaining Programs
o Language implementation system: availability of free compilers
o Reliability: poor reliability leads to high costs.

More Related Content

Similar to Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx

English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacionVillalba Griselda
 
Computer programing 111 lecture 1
Computer programing 111 lecture 1 Computer programing 111 lecture 1
Computer programing 111 lecture 1 ITNet
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer ProgrammingHussain Buksh
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxAsst.prof M.Gokilavani
 
1.2 Evaluation of PLs.ppt
1.2 Evaluation of PLs.ppt1.2 Evaluation of PLs.ppt
1.2 Evaluation of PLs.pptmeenabairagi1
 
Programing paradigm & implementation
Programing paradigm & implementationPrograming paradigm & implementation
Programing paradigm & implementationBilal Maqbool ツ
 
PL Lecture 01 - preliminaries
PL Lecture 01 - preliminariesPL Lecture 01 - preliminaries
PL Lecture 01 - preliminariesSchwannden Kuo
 
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Professor Lili Saghafi
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
rajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfrajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfSunnukhazisSunnu
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming LanguagesManish Kharotia
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...IRJET Journal
 

Similar to Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx (20)

English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
Computer programing 111 lecture 1
Computer programing 111 lecture 1 Computer programing 111 lecture 1
Computer programing 111 lecture 1
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
week1.ppt
week1.pptweek1.ppt
week1.ppt
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
 
Programming.language
Programming.languageProgramming.language
Programming.language
 
1.2 Evaluation of PLs.ppt
1.2 Evaluation of PLs.ppt1.2 Evaluation of PLs.ppt
1.2 Evaluation of PLs.ppt
 
Programing paradigm & implementation
Programing paradigm & implementationPrograming paradigm & implementation
Programing paradigm & implementation
 
PL Lecture 01 - preliminaries
PL Lecture 01 - preliminariesPL Lecture 01 - preliminaries
PL Lecture 01 - preliminaries
 
NEP.pptx
NEP.pptxNEP.pptx
NEP.pptx
 
600Desc
600Desc600Desc
600Desc
 
600Desc
600Desc600Desc
600Desc
 
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
rajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfrajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdf
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...
 
Unit 1
Unit 1Unit 1
Unit 1
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
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
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........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 🔝✔️✔️
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
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
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 

Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx

  • 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 tool for developing executable models for a class of problem domains.
  • 3. Syntax, Semantics and Pragmatics  Syntax: Structure of Programs (tokens, keywords, statements)  Semantics: What are meant by programs.  Pragmatics:
  • 4. Language Paradigms  Imperative/ Procedural Languages  Applicative/ Functional Languages  Rule-based / Declarative Languages  Object-Oriented Languages
  • 5. Imperative/ Procedural Languages  Statement Oriented languages that change machine state EX: (C, Pascal, FORTRAN, COBOL)  Computation: a sequence of machine states(contents of memory) Syntax: S1, S2, S3,… where S1, S2,… are statements
  • 6. Imperative/ Procedural Languages  Imperative programs emphasize “tell what to do”  They focus on evaluating expressions and storing results in a variable.  The most common imperative language consists of statements such as : a=10; b= 5; c=a + b;
  • 7. Applicative/ Functional Languages  Programming consists of building the function that computes the answer EX: (ML, LISP)  Computation: Function Composition is major operation Syntax: F1(F2(F3(X))) where F1, F2,F3 are functions and X is data.
  • 8. Rule-Based / Declarative Languages  Computation: Actions are specified by rules that check for the presence of certain enabling conditions. EX (Prolog)  The order of execution is determined by the enabling conditions, not by the order of the statements. Syntax: Condition Action
  • 9. Object-Oriented Languages  Imperative languages that merge applicative design with imperative statements. Ex: (java, C++, Smalltalk) Syntax: set of objects (classes) containing data (imperative concepts) and methods (applicative concepts)
  • 10. Different Types of Programming Domains  Scientific applications  Business applications  Artificial intelligence  Scripting languages  Systems Programming
  • 11. Programming Domains (Cont.’…)  Scientific applications -Large number of floating point computations -Ex: Fortran  Business applications -Produce reports, use decimal numbers and characters - Ex: COBOL
  • 12. Programming Domains (Cont.’…)  Artificial intelligence -Symbols rather than number manipulated -Ex: LISP  Systems Programming -Need efficiency because of continuous use - Ex: C
  • 13. Programming Domains (Cont.’…)  Scripting Languages -Eclectic collection of languages : markup (e.g., XHTML), scripting (e.g., PHP), general-purpose (e.g., Java)
  • 14. Criteria for Language Evaluation  Readability :the ease with which programs can be read and understood  Writeability :the ease with which a language can be used to create programs.  Reliability :conformance to specifications (i.e., performs to its specifications)  Cost : the ultimate total cost
  • 15. Criteria for Language Evaluation (Cont..)  Readability o Overall simplicity “Strongly affects readability” -Too many features make the language difficult to learn. Programmers tend to learn a subsets of the language and ignore its other features. Ex. ALGOL 60 - Multiplicity of features is also a complicating characteristics “having more than one way to accomplish a particular operation. Ex. Java
  • 16. Criteria for Language Evaluation (Cont..)  Readability o Orthogonality -Makes the language easy to learn and read. - Meaning is context independent. Pointers should be able to point to any type of variable or data structure.
  • 17. Criteria for Language Evaluation (Cont..)  Readability o Control Statements -It became widely recognized that indiscriminate use of goto statements severely reduced program readability. - Basic and Fortran in the early 70s lacked the control statements that allow strong restrictions on the use of gotos, so writing highly readable programs in those languages was difficult.
  • 18. Criteria for Language Evaluation (Cont..)  Readability o Control Statements -Since then, languages have included sufficient control structures. - The control statement design of a language is now a less important factor in readability that it was in the past.
  • 19. Criteria for Language Evaluation (Cont..)  Readability o Data Types and structures -The presence of adequate facilities for defining data types and structures in a language is another significant aid to reliability. - Ex: Boolean type. • timeout =1 or • timeout=true
  • 20. Criteria for Language Evaluation (Cont..)  Readability o Syntax Considerations -The syntax of the elements of a language has a significant effect on readability. -Identifier forms: Restricting identifiers to very short length detracts from readability. ANSI BASIC(1978) an identifier could consist only of a single letter followed by a single digit.
  • 21. Criteria for Language Evaluation (Cont..)  Writability -It is a measure of how easily a language can be used to create programs for a chosen problem domain - Most of the language characteristics that affect readability also affect writability.
  • 22. Criteria for Language Evaluation (Cont..)  Writability o Support for abstraction -The ability to define and use complex structures or operations in ways that allow details to be ignored. -
  • 23. Criteria for Language Evaluation (Cont..)  Writability o Simplicity and Orthogonality -A smaller number of primitive constructs and a consistent set of rules for combining them is much better than simply having a large number of primitives.
  • 24. Criteria for Language Evaluation (Cont..)  Reliability o Type checking -is simply testing for type errors in a given program, either by the compiler or during program execution. o Exception handling -the ability to intercepts run-time errors, take corrective measures, and then continue is a great aid to reliability.
  • 25. Criteria for Language Evaluation (Cont..)  Cost o Training programmers to use language. o Compiling Programs o Maintaining Programs o Language implementation system: availability of free compilers o Reliability: poor reliability leads to high costs.