SlideShare a Scribd company logo
Types of programming language
Types of programming language
There are 3 types of programming language:
1.Procedural
2.Declarative
3.Object-Oriented
Procedural languages
 In a procedural language, the programmer specifies the
sequence of operations to be performed
 A procedural program has a clear start point, and end
point
 Livecode, Python, BASIC and C are examples of
procedural programming languages (although LiveCode
can also be described as Event Driven)
Procedural languages
 Larger programs are broken down into smaller
subprograms, known as functions or procedures
 Subprograms should have a specific purpose. Using
subprograms means a program is modular.
 Procedural languages provide the programmer with
variable data types such as integers, real numbers and
strings
Procedural languages
BASIC listing
Procedural languages
Python listing
Declarative languages
The programmer declares all of the facts and rules at the
outset
Queries can then be performed on the facts and
relationships in order to solve problems
Used in medical diagnosis, weather forecasting, financial
projection and planning
Examples are PROLOG and LISP. Declarative languages
are often used in artificial intelligence
Declarative languages
Sample PROLOG listing
Object-oriented languages
In object-oriented programming (OOP) the language is
modelled around objects rather than actions
Objects can have attributes and methods
A car object can have the attributes:
Colour
Engine size
Number of doors
A car object can have the methods:
Drive forward
Brake
Unlock doors
Classes
Classes
In OOP we define a class as the blueprint for our objects
In our example, car is a class – it is not a specific make or
model of car but a blueprint for all cars
We use our class to create an instance of an object
Instances
Inheritance
Object-oriented programming allows classes to inherit
commonly used state and behaviour from other classes
Inheritance
Encapsulation
Encapsulation is the principle of placing data (attributes)
and functions (methods) into a single component (class)
Using encapsulation we can hide much of the
functionality and data from parts of the program that
don’t need to access it

More Related Content

PPT
Text Editors and IDEs
PPT
SD & D Implementation
PDF
Programming languages and concepts by vivek parihar
PPT
Programming language design and implemenation
PPTX
Basic programming concepts
PPTX
Programming landuages
PPSX
Programming languages
PPTX
Programming languages
Text Editors and IDEs
SD & D Implementation
Programming languages and concepts by vivek parihar
Programming language design and implemenation
Basic programming concepts
Programming landuages
Programming languages
Programming languages

What's hot (20)

PDF
Programing paradigm & implementation
PPTX
Programming Language
PPTX
Coding vs programming
PDF
Programming language
PPT
software development and programming languages
PPTX
Programming languages
PDF
Principles of-programming-languages-lecture-notes-
PPT
Lect 1. introduction to programming languages
PPT
Introduction to programming languages part 1
PPTX
Programming Languages
PPTX
BASIC Programming Language
PPTX
Programming language
PPT
4 evolution-of-programming-languages
PPTX
Imperative programming
PPTX
Programming language
PPT
Programming Languages An Intro
PPT
Generation of computer languages
PPTX
Ndu06 typesof language
PPT
Comparative Study of programming Languages
Programing paradigm & implementation
Programming Language
Coding vs programming
Programming language
software development and programming languages
Programming languages
Principles of-programming-languages-lecture-notes-
Lect 1. introduction to programming languages
Introduction to programming languages part 1
Programming Languages
BASIC Programming Language
Programming language
4 evolution-of-programming-languages
Imperative programming
Programming language
Programming Languages An Intro
Generation of computer languages
Ndu06 typesof language
Comparative Study of programming Languages
Ad

Viewers also liked (20)

PPT
SD & D High and low level languages
PPT
Virtual machines, emulators and mobile devices
PPT
SD & D Maintenance
PPT
SD & D analysis
PPT
SD & D Negative Numbers
PPT
SD & D Real Numbers
PPT
SD & D Testing
PPT
ISDD Testing
PPTX
Linked Lists
PPT
SD &D Binary Units
PPT
SD & D Logical Operators
PPT
SD & D Standard Algorithms
PPTX
Audio and Video
PPT
SD & D Representing Text
PPT
S & D Machine code
PPT
N5 Computing Science - Readability of code
PPT
Joke task
PPT
Fetch Execute Cycle
PPTX
Standard Algorithms
PPT
SD & D Documentation
SD & D High and low level languages
Virtual machines, emulators and mobile devices
SD & D Maintenance
SD & D analysis
SD & D Negative Numbers
SD & D Real Numbers
SD & D Testing
ISDD Testing
Linked Lists
SD &D Binary Units
SD & D Logical Operators
SD & D Standard Algorithms
Audio and Video
SD & D Representing Text
S & D Machine code
N5 Computing Science - Readability of code
Joke task
Fetch Execute Cycle
Standard Algorithms
SD & D Documentation
Ad

Similar to SD & D Types of programming language (20)

PPT
Basic Programming Concept
PPT
La 5 Programming1
PPTX
Chapter 5
PPTX
Chapter 1
PPTX
Lec 1 Introduction to Programming Concepts.pptx
PPTX
Programming paradigms Techniques_part2.pptx
PPTX
PDF
Computer programing 111 lecture 1
DOCX
DOCX
Unit 1
DOC
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
PPTX
Ppt about programming in methodology
PPTX
object oriented programming in c++ introduction lecture 1.pptx
PPTX
PCCF UNIT 2.pptx
ODP
Programming
PPSX
Basic OOPS concept for Core JAVA
DOCX
PCCF-UNIT 2-1 new.docx
PPTX
PCCF UNIT 2 CLASS.pptx
PPTX
PRESENTATION ON PYTHON.pptx
PPTX
CSCorganization of programming languages
Basic Programming Concept
La 5 Programming1
Chapter 5
Chapter 1
Lec 1 Introduction to Programming Concepts.pptx
Programming paradigms Techniques_part2.pptx
Computer programing 111 lecture 1
Unit 1
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
Ppt about programming in methodology
object oriented programming in c++ introduction lecture 1.pptx
PCCF UNIT 2.pptx
Programming
Basic OOPS concept for Core JAVA
PCCF-UNIT 2-1 new.docx
PCCF UNIT 2 CLASS.pptx
PRESENTATION ON PYTHON.pptx
CSCorganization of programming languages

More from Forrester High School (20)

PPTX
Program Design
PPTX
Database Evaluation
PPTX
PPTX
Database Query Design
PPTX
Data Dictionary
PPTX
Compound Keys
PPTX
Entity Occurrence Diagrams
PPTX
Entity Relationship Diagrams
PPTX
Database Analysis
PPTX
Software Evaluation
PPTX
Software Testing
PPTX
Standard Algorithms
PPTX
File Handling
PPTX
Python Predefined Functions
PPTX
Python Substrings
PPTX
Variable Scope
PPTX
Sub-programs
PPTX
Records in Python
PPTX
Parallel arrays in python
Program Design
Database Evaluation
Database Query Design
Data Dictionary
Compound Keys
Entity Occurrence Diagrams
Entity Relationship Diagrams
Database Analysis
Software Evaluation
Software Testing
Standard Algorithms
File Handling
Python Predefined Functions
Python Substrings
Variable Scope
Sub-programs
Records in Python
Parallel arrays in python

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Sports Quiz easy sports quiz sports quiz
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Cell Structure & Organelles in detailed.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Lesson notes of climatology university.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
2.FourierTransform-ShortQuestionswithAnswers.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
human mycosis Human fungal infections are called human mycosis..pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Final Presentation General Medicine 03-08-2024.pptx
Renaissance Architecture: A Journey from Faith to Humanism
FourierSeries-QuestionsWithAnswers(Part-A).pdf
GDM (1) (1).pptx small presentation for students
Anesthesia in Laparoscopic Surgery in India
Sports Quiz easy sports quiz sports quiz
VCE English Exam - Section C Student Revision Booklet
Cell Structure & Organelles in detailed.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Microbial diseases, their pathogenesis and prophylaxis
Lesson notes of climatology university.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
RMMM.pdf make it easy to upload and study
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx

SD & D Types of programming language

  • 2. Types of programming language There are 3 types of programming language: 1.Procedural 2.Declarative 3.Object-Oriented
  • 3. Procedural languages  In a procedural language, the programmer specifies the sequence of operations to be performed  A procedural program has a clear start point, and end point  Livecode, Python, BASIC and C are examples of procedural programming languages (although LiveCode can also be described as Event Driven)
  • 4. Procedural languages  Larger programs are broken down into smaller subprograms, known as functions or procedures  Subprograms should have a specific purpose. Using subprograms means a program is modular.  Procedural languages provide the programmer with variable data types such as integers, real numbers and strings
  • 7. Declarative languages The programmer declares all of the facts and rules at the outset Queries can then be performed on the facts and relationships in order to solve problems Used in medical diagnosis, weather forecasting, financial projection and planning Examples are PROLOG and LISP. Declarative languages are often used in artificial intelligence
  • 9. Object-oriented languages In object-oriented programming (OOP) the language is modelled around objects rather than actions Objects can have attributes and methods A car object can have the attributes: Colour Engine size Number of doors A car object can have the methods: Drive forward Brake Unlock doors
  • 11. Classes In OOP we define a class as the blueprint for our objects In our example, car is a class – it is not a specific make or model of car but a blueprint for all cars We use our class to create an instance of an object
  • 13. Inheritance Object-oriented programming allows classes to inherit commonly used state and behaviour from other classes
  • 15. Encapsulation Encapsulation is the principle of placing data (attributes) and functions (methods) into a single component (class) Using encapsulation we can hide much of the functionality and data from parts of the program that don’t need to access it