SlideShare a Scribd company logo
Sri Lanka Institute of Information Technology
Programming Language Design Concepts
Unit Code: IT340
Year 3, Semester 1 – 2015
Topic: Evaluate and analyze Algol, Pascal and ADA programming
languages
Student Information:
No
Student Registration
Number
Student Name
1 IT13118082 Charitha D.G.
Major contribution of ALGOL
1. The assignment operation
2. The block structure
3. Regularity of language
4. Guided the notation to define the syntax of programming languages
5. Dynamic memory management
6. Introduction of the programming language concept
Major contribution of Pascal
1. Pascal contributed some features such as simplicity, security and reliability
2. Type safety: Pascal was seminal in creating the belief that type safety is important and critical in
a language.
3. Compiler efficiency
Major contribution of ADA
1. Portability
2. Reuse of software
3. Support to large scale software systems
Main Features of ALGOL
The statements are of two types: declarative statements and imperative statements. The declarative
statements were used for variable declarations, procedure declarations and switch declarations. In Algol
variable names did not have restrictions on the number of characters used. Mainly three data types
used as integer, real and string. Arrays in Algol are generalizes and dynamic: space is allocated at block
entry time and fixed until block exit. Alogol-60 had strong typing and keywords. There are control
structures in Algol as goto, if-then-else, for loop, switch conditions. There are two ways of parameter
passing as call by value (copy going into the procedure), call by reference (pass a pointer to the actual
parameter. And indirect through the pointer), call by result (copy going out of the procedure), call by
value result (copy going in, and again going out)
Strengths:
 Strong typing
 Efficiency
 Easy to read and learn
 Allows procedures to be recursive
Weaknesses
 Lack of input-output statements was a mistake
 Dynamic scoping in Algol makes programs a lot more difficult to read
 Display method in Algol requires extra memory for the array implementing the display
Main features of Pascal
A Pascal program is formed from a single main program block which contains within it the definitions of
the subprograms used. A Pascal program basically consists of heading statement, a declaration and an
execution part strictly in that order. In Pascal variable declarations are introduced by using the keyword
var – syntax is name: type. The type declarations are introduced by the keyword type –syntax is name =
type. The type declaration is used to declare the data type of an identifier. Syntax of type declaration is:
type-identifier-1, type-identfier-2 = type-specifier; Pascal adds character (char) and a secure (typed)
pointer type to Algol's real, integer, and Boolean types. Pascal has more control constructs than Algol-
60, but they are simpler and more structured. Pascal's for loop is restricted to definite iteration -- it
steps only by increments of 1, upward or downward. Pascal provides two constructs for indefinite
iteration: a leading-decision iterator and a trailing-decision iterator. Pascal introduced labeled case-
statement Pascal supports only pass by value and pass by reference.
Strengths:
 Strong data typing
 Simplicity and expressivity
 Supports structured programming
 Ability to write your own libraries
 Easy compilation to .EXE programs
 Security and reliability
Weaknesses
 Not mainstream
 Weak String Handling Capabilities
 Pascal Does Not Support Object Oriented Programming
 Pascal is Not For Serious Programmers
Main features of ADA
Packages are the principle structuring facility in Ada. Packages are intended to be used to directly
support abstraction, information hiding, and modularization. For example, packages are useful for
encapsulating machine dependencies. Variable declarations in ADA allow the initialization of the
variable. ADA uses fully bracketed syntax. Ada control structures are designed for maximum readability,
all control structures are clearly ended with an 'end something'. The case statement must have an action
for every possible value of the case item. The compiler checks that this is the case. All Ada looping
constructs use the loop/ end loop form. Several variations exist. The exit statement can be used to break
out of loops. The goto statement is provided in Ada for use in exceptional situations. ADA has three
parameter passing modes called IN, OUT, IN OUT. IN is the same as call by value, OUT is the same as call
by result, and IN OUT is the same as call by value result. In addition, IN parameters are local constants --
you can't assign into them.
Strengths:
 Safe type system
 Modularity
 Information hiding
 Readability
 Portability
 Standardization
 Interoperability with other languages
 Successful usage in practice
Weaknesses
 Complexity of language
 Compiler inefficiency (Ada 83)
 Implementation is expensive
 Increased cost of validation due to complexity of language

More Related Content

What's hot

Programming In C++
Programming In C++ Programming In C++
Programming In C++
shammi mehra
 
Chapter1pp
Chapter1ppChapter1pp
Chapter1ppJ. C.
 
New c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_ivNew c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_iv
Nico Ludwig
 
358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1
sumitbardhan
 
Ooabap notes with_programs
Ooabap notes with_programsOoabap notes with_programs
Ooabap notes with_programsKranthi Kumar
 
C by balaguruswami - e.balagurusamy
C   by balaguruswami - e.balagurusamyC   by balaguruswami - e.balagurusamy
C by balaguruswami - e.balagurusamy
Srichandan Sobhanayak
 
Syntax
SyntaxSyntax
Basic Structure of C Language and Related Term
Basic Structure of C Language  and Related TermBasic Structure of C Language  and Related Term
Basic Structure of C Language and Related Term
MuhammadWaseem305
 
Learning c - An extensive guide to learn the C Language
Learning c - An extensive guide to learn the C LanguageLearning c - An extensive guide to learn the C Language
Learning c - An extensive guide to learn the C Language
Abhishek Dwivedi
 
Javascript by Yahoo
Javascript by YahooJavascript by Yahoo
Javascript by Yahoobirbal
 
Doppl development iteration #1
Doppl development   iteration #1Doppl development   iteration #1
Doppl development iteration #1
Diego Perini
 
Programming in C Presentation upto FILE
Programming in C Presentation upto FILEProgramming in C Presentation upto FILE
Programming in C Presentation upto FILE
Dipta Saha
 
Basic C Programming language
Basic C Programming languageBasic C Programming language
Basic C Programming language
Abhishek Soni
 
Ap Power Point Chpt3
Ap Power Point Chpt3Ap Power Point Chpt3
Ap Power Point Chpt3dplunkett
 
Pseudo code
Pseudo codePseudo code
Pseudo code
Arindam Ghosh
 
Java tokens
Java tokensJava tokens
Java tokens
shalinikarunakaran1
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#
Prasanna Kumar SM
 

What's hot (20)

Programming In C++
Programming In C++ Programming In C++
Programming In C++
 
Chapter1pp
Chapter1ppChapter1pp
Chapter1pp
 
New c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_ivNew c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_iv
 
358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1
 
Basics1
Basics1Basics1
Basics1
 
Ooabap notes with_programs
Ooabap notes with_programsOoabap notes with_programs
Ooabap notes with_programs
 
C by balaguruswami - e.balagurusamy
C   by balaguruswami - e.balagurusamyC   by balaguruswami - e.balagurusamy
C by balaguruswami - e.balagurusamy
 
Syntax
SyntaxSyntax
Syntax
 
Basic Structure of C Language and Related Term
Basic Structure of C Language  and Related TermBasic Structure of C Language  and Related Term
Basic Structure of C Language and Related Term
 
Learning c - An extensive guide to learn the C Language
Learning c - An extensive guide to learn the C LanguageLearning c - An extensive guide to learn the C Language
Learning c - An extensive guide to learn the C Language
 
Lexical Analyzers and Parsers
Lexical Analyzers and ParsersLexical Analyzers and Parsers
Lexical Analyzers and Parsers
 
Javascript by Yahoo
Javascript by YahooJavascript by Yahoo
Javascript by Yahoo
 
C tutorial
C tutorialC tutorial
C tutorial
 
Doppl development iteration #1
Doppl development   iteration #1Doppl development   iteration #1
Doppl development iteration #1
 
Programming in C Presentation upto FILE
Programming in C Presentation upto FILEProgramming in C Presentation upto FILE
Programming in C Presentation upto FILE
 
Basic C Programming language
Basic C Programming languageBasic C Programming language
Basic C Programming language
 
Ap Power Point Chpt3
Ap Power Point Chpt3Ap Power Point Chpt3
Ap Power Point Chpt3
 
Pseudo code
Pseudo codePseudo code
Pseudo code
 
Java tokens
Java tokensJava tokens
Java tokens
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#
 

Viewers also liked

Project Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemProject Proposal document for Hotel Management System
Project Proposal document for Hotel Management System
Charitha Gamage
 
PPT for Hotel Management System
PPT for Hotel Management SystemPPT for Hotel Management System
PPT for Hotel Management System
Charitha Gamage
 
SRS document for Hotel Management System
SRS document for Hotel Management SystemSRS document for Hotel Management System
SRS document for Hotel Management System
Charitha Gamage
 
Hotel Management System Final Report
Hotel Management System Final ReportHotel Management System Final Report
Hotel Management System Final Report
Charitha Gamage
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
prabhat kumar
 
PPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENTPPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENT
Jaya0006
 
How the PDM Can Help Us Avoid Ethical Dilemmas
How the PDM Can Help Us Avoid Ethical DilemmasHow the PDM Can Help Us Avoid Ethical Dilemmas
How the PDM Can Help Us Avoid Ethical DilemmasJohn Gavazzi
 
Hotel management system presentation
Hotel management system presentationHotel management system presentation
Hotel management system presentation
joilrahat
 
Online Hotel Room Booking System
Online Hotel Room Booking SystemOnline Hotel Room Booking System
Online Hotel Room Booking System
Abhishek Kumar
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
Soumili Sen
 
Hotel Reservation System Project
Hotel Reservation System ProjectHotel Reservation System Project
Hotel Reservation System Project
raj_qn3
 

Viewers also liked (12)

Project Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemProject Proposal document for Hotel Management System
Project Proposal document for Hotel Management System
 
PPT for Hotel Management System
PPT for Hotel Management SystemPPT for Hotel Management System
PPT for Hotel Management System
 
SRS document for Hotel Management System
SRS document for Hotel Management SystemSRS document for Hotel Management System
SRS document for Hotel Management System
 
Hotel Management System Final Report
Hotel Management System Final ReportHotel Management System Final Report
Hotel Management System Final Report
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
 
PPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENTPPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENT
 
How the PDM Can Help Us Avoid Ethical Dilemmas
How the PDM Can Help Us Avoid Ethical DilemmasHow the PDM Can Help Us Avoid Ethical Dilemmas
How the PDM Can Help Us Avoid Ethical Dilemmas
 
Hotel Management System
Hotel Management SystemHotel Management System
Hotel Management System
 
Hotel management system presentation
Hotel management system presentationHotel management system presentation
Hotel management system presentation
 
Online Hotel Room Booking System
Online Hotel Room Booking SystemOnline Hotel Room Booking System
Online Hotel Room Booking System
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
 
Hotel Reservation System Project
Hotel Reservation System ProjectHotel Reservation System Project
Hotel Reservation System Project
 

Similar to Evaluate And Analysis of ALGOL, ADA ,PASCAL Programming Languages

Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
Synesso
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming languageVasavi College of Engg
 
Porcorn tutorial
Porcorn tutorialPorcorn tutorial
What does PL_SQL stand for and what is the functioning of PL_SQL.docx
What does PL_SQL stand for and what is the functioning of PL_SQL.docxWhat does PL_SQL stand for and what is the functioning of PL_SQL.docx
What does PL_SQL stand for and what is the functioning of PL_SQL.docx
shivanikaale214
 
imperative programming language, java, android
imperative programming language, java, androidimperative programming language, java, android
imperative programming language, java, android
i i
 
Scala a case4
Scala a case4Scala a case4
Scala a case4
lee.gilbert
 
Introduction to scala for a c programmer
Introduction to scala for a c programmerIntroduction to scala for a c programmer
Introduction to scala for a c programmerGirish Kumar A L
 
Introduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologiesIntroduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologies
TabassumMaktum
 
9 subprograms
9 subprograms9 subprograms
9 subprogramsjigeno
 
PL/SQL Part 1
PL/SQL Part 1PL/SQL Part 1
PL/SQL Part 1
Gurpreet singh
 
c#.pptx
c#.pptxc#.pptx
Perl Reference.ppt
Perl Reference.pptPerl Reference.ppt
Perl Reference.ppt
AshleshaKulkarni4
 
Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)
Polymorph
 
An Efficient Approach to Produce Source Code by Interpreting Algorithm
An Efficient Approach to Produce Source Code by Interpreting AlgorithmAn Efficient Approach to Produce Source Code by Interpreting Algorithm
An Efficient Approach to Produce Source Code by Interpreting Algorithm
IRJET Journal
 
Annotations
AnnotationsAnnotations
Annotations
Knoldus Inc.
 
Scala tutorial
Scala tutorialScala tutorial
Scala tutorial
wafianedjma
 
Unit 1 notes.pdf
Unit 1 notes.pdfUnit 1 notes.pdf
Unit 1 notes.pdf
Revathiparamanathan
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVA
TOPS Technologies
 
Improving Code Quality Through Effective Review Process
Improving Code Quality Through Effective  Review ProcessImproving Code Quality Through Effective  Review Process
Improving Code Quality Through Effective Review Process
Dr. Syed Hassan Amin
 

Similar to Evaluate And Analysis of ALGOL, ADA ,PASCAL Programming Languages (20)

Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
 
Porcorn tutorial
Porcorn tutorialPorcorn tutorial
Porcorn tutorial
 
What does PL_SQL stand for and what is the functioning of PL_SQL.docx
What does PL_SQL stand for and what is the functioning of PL_SQL.docxWhat does PL_SQL stand for and what is the functioning of PL_SQL.docx
What does PL_SQL stand for and what is the functioning of PL_SQL.docx
 
imperative programming language, java, android
imperative programming language, java, androidimperative programming language, java, android
imperative programming language, java, android
 
Scala a case4
Scala a case4Scala a case4
Scala a case4
 
Introduction to scala for a c programmer
Introduction to scala for a c programmerIntroduction to scala for a c programmer
Introduction to scala for a c programmer
 
Introduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologiesIntroduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologies
 
9 subprograms
9 subprograms9 subprograms
9 subprograms
 
PL/SQL Part 1
PL/SQL Part 1PL/SQL Part 1
PL/SQL Part 1
 
c#.pptx
c#.pptxc#.pptx
c#.pptx
 
Perl Reference.ppt
Perl Reference.pptPerl Reference.ppt
Perl Reference.ppt
 
Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)
 
An Efficient Approach to Produce Source Code by Interpreting Algorithm
An Efficient Approach to Produce Source Code by Interpreting AlgorithmAn Efficient Approach to Produce Source Code by Interpreting Algorithm
An Efficient Approach to Produce Source Code by Interpreting Algorithm
 
Annotations
AnnotationsAnnotations
Annotations
 
Scala tutorial
Scala tutorialScala tutorial
Scala tutorial
 
Scala tutorial
Scala tutorialScala tutorial
Scala tutorial
 
Unit 1 notes.pdf
Unit 1 notes.pdfUnit 1 notes.pdf
Unit 1 notes.pdf
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVA
 
Improving Code Quality Through Effective Review Process
Improving Code Quality Through Effective  Review ProcessImproving Code Quality Through Effective  Review Process
Improving Code Quality Through Effective Review Process
 

Recently uploaded

Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 

Recently uploaded (20)

Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 

Evaluate And Analysis of ALGOL, ADA ,PASCAL Programming Languages

  • 1. Sri Lanka Institute of Information Technology Programming Language Design Concepts Unit Code: IT340 Year 3, Semester 1 – 2015 Topic: Evaluate and analyze Algol, Pascal and ADA programming languages Student Information: No Student Registration Number Student Name 1 IT13118082 Charitha D.G.
  • 2. Major contribution of ALGOL 1. The assignment operation 2. The block structure 3. Regularity of language 4. Guided the notation to define the syntax of programming languages 5. Dynamic memory management 6. Introduction of the programming language concept Major contribution of Pascal 1. Pascal contributed some features such as simplicity, security and reliability 2. Type safety: Pascal was seminal in creating the belief that type safety is important and critical in a language. 3. Compiler efficiency Major contribution of ADA 1. Portability 2. Reuse of software 3. Support to large scale software systems Main Features of ALGOL The statements are of two types: declarative statements and imperative statements. The declarative statements were used for variable declarations, procedure declarations and switch declarations. In Algol variable names did not have restrictions on the number of characters used. Mainly three data types used as integer, real and string. Arrays in Algol are generalizes and dynamic: space is allocated at block entry time and fixed until block exit. Alogol-60 had strong typing and keywords. There are control structures in Algol as goto, if-then-else, for loop, switch conditions. There are two ways of parameter passing as call by value (copy going into the procedure), call by reference (pass a pointer to the actual parameter. And indirect through the pointer), call by result (copy going out of the procedure), call by value result (copy going in, and again going out) Strengths:  Strong typing  Efficiency  Easy to read and learn  Allows procedures to be recursive Weaknesses  Lack of input-output statements was a mistake  Dynamic scoping in Algol makes programs a lot more difficult to read  Display method in Algol requires extra memory for the array implementing the display
  • 3. Main features of Pascal A Pascal program is formed from a single main program block which contains within it the definitions of the subprograms used. A Pascal program basically consists of heading statement, a declaration and an execution part strictly in that order. In Pascal variable declarations are introduced by using the keyword var – syntax is name: type. The type declarations are introduced by the keyword type –syntax is name = type. The type declaration is used to declare the data type of an identifier. Syntax of type declaration is: type-identifier-1, type-identfier-2 = type-specifier; Pascal adds character (char) and a secure (typed) pointer type to Algol's real, integer, and Boolean types. Pascal has more control constructs than Algol- 60, but they are simpler and more structured. Pascal's for loop is restricted to definite iteration -- it steps only by increments of 1, upward or downward. Pascal provides two constructs for indefinite iteration: a leading-decision iterator and a trailing-decision iterator. Pascal introduced labeled case- statement Pascal supports only pass by value and pass by reference. Strengths:  Strong data typing  Simplicity and expressivity  Supports structured programming  Ability to write your own libraries  Easy compilation to .EXE programs  Security and reliability Weaknesses  Not mainstream  Weak String Handling Capabilities  Pascal Does Not Support Object Oriented Programming  Pascal is Not For Serious Programmers
  • 4. Main features of ADA Packages are the principle structuring facility in Ada. Packages are intended to be used to directly support abstraction, information hiding, and modularization. For example, packages are useful for encapsulating machine dependencies. Variable declarations in ADA allow the initialization of the variable. ADA uses fully bracketed syntax. Ada control structures are designed for maximum readability, all control structures are clearly ended with an 'end something'. The case statement must have an action for every possible value of the case item. The compiler checks that this is the case. All Ada looping constructs use the loop/ end loop form. Several variations exist. The exit statement can be used to break out of loops. The goto statement is provided in Ada for use in exceptional situations. ADA has three parameter passing modes called IN, OUT, IN OUT. IN is the same as call by value, OUT is the same as call by result, and IN OUT is the same as call by value result. In addition, IN parameters are local constants -- you can't assign into them. Strengths:  Safe type system  Modularity  Information hiding  Readability  Portability  Standardization  Interoperability with other languages  Successful usage in practice Weaknesses  Complexity of language  Compiler inefficiency (Ada 83)  Implementation is expensive  Increased cost of validation due to complexity of language