SlideShare a Scribd company logo
Computer Science
(A Level)
Imperative, Declarative
and Object-Orientated
Languages
4th Generation Data query,
analysis and reporting
3rd Generation
Imperative
2nd Generation
Assembly
1st Generation
Machine code
High level languages
Low level languages
Programming Languages - Generations
High Level Programming
Languages
Imperative
Object
Oriented
Procedural
Declarative
Logic
Database
Query
Functional
Hierarchy of High Level Languages
Code is executed line by line,
in a programmer defined
sequence of commands and
procedures
(Definition)
Tech Pupil is a site
made by a
student to help
and assist others
in their computer
science courses,
aspirations and
learning.
Imperative
• Imperative language is also known as procedural
language.
• This works by typing in lists of instructions (subroutines
and procedures) that the computer has to follow. Every
time the computer program is run, it follows the same
set of instructions.
• Imperative programs are made up of sequence, selection
and iteration blocks
Advantages Disadvantages
• Quicker and easier to write and maintain • Slower code - lacks low level processors
functionality
• Hardware independent – it is written
and can be used many times
• There are many procedural languages
therefore a programmer may only learn
and know one language.
• Time saving programmer friendly, one
of 3rd gen is the equivalent of many lines
of 1st and 2nd gen
• Need to be very precise and
knowledgeable about programming
instructions, and so a fully de-bugged
working program takes more time to put
together
• Good level of control without having to
know precise target CPU details
• Doesn’t deal well with ideas and concepts
• Portable source code
Imperative
A language that condenses data
and instructions together into
objects
(Definition)
Tech Pupil is a site
made by a
student to help
and assist others
in their computer
science courses,
aspirations and
learning.
Object-Orientated
• Object orientated languages are organised around objects
and data instead of actions and logic.
• The operations in this type of languages can modify object
behaviour. In other words, it can change an object by
manipulating variables.
• These wok by creating objects where the instructions and
data required to run the program are contained within a
single object.
• Object orientated programming can be further grouped into
classes
A language that declares
what needs to be done
rather than how to do it
(Definition)
Tech Pupil is a site
made by a
student to help
and assist others
in their computer
science courses,
aspirations and
learning.
Declarative
• Declarative language is more problem-orientated than
machine-orientated.
• It works by describing what the program needs to
accomplish rather than how to do it.
• There are 2 types of declarative language
–Logic
–Functional
Tech Pupil is a site
made by a
student to help
and assist others
in their computer
science courses,
aspirations and
learning.
Declarative (Logic)
One type of declarative language is logic
programming, which is used widely in artificial
intelligence and works by programming in facts
and rules rather than instructions. The program
then uses the facts and rules to interrogate data
and provide results.
Tech Pupil is a site
made by a
student to help
and assist others
in their computer
science courses,
aspirations and
learning.
Declarative (Functional)
Another type of declarative language is a
functional language, which works by treating
procedures more like mathematical functions.
Therefore, the building blocks of the program
are functions rather than lists of instructions.
A language (part of
declarative language) that
uses mathematical functions
(Definition)
Characteristics of High Level Programming
• Easier to identify what a command does because the keywords
are like natural language
• High level languages need to be translated, just like assembly
language
• One to many relationship – one command in high level
languages is a whole sequence in machine code
• Portable
• Easier to maintain
• Makes use of wide variety of program structures to make
program writing more straightforward.

More Related Content

PPTX
Language processors
PPT
Chapter 1 : INTRODUCTION TO MULTIMEDIA
PPTX
system software and application software
PPT
Scripting languages
PPTX
Os ppt
PPTX
Distributed system architecture
ODP
Application Software
PPTX
Multimedia
Language processors
Chapter 1 : INTRODUCTION TO MULTIMEDIA
system software and application software
Scripting languages
Os ppt
Distributed system architecture
Application Software
Multimedia

What's hot (20)

PDF
Chapter 1 - Multimedia Fundamentals
PPTX
Classification of Programming Languages
PPTX
Programming languages
PPTX
User interfaces presentation
PPT
07 Input Output
PPT
Open source operating systems
PPSX
Application software
PPTX
Web application
PPTX
Computer Programming
PPTX
Programming language
PPTX
PPT
Cloud deployment models
PPTX
Types of application software
PPT
Gopher Protocol
PPTX
Learn html Basics
PPTX
System software
PPT
JINI Technology
PPT
OPERATING SYSTEM
Chapter 1 - Multimedia Fundamentals
Classification of Programming Languages
Programming languages
User interfaces presentation
07 Input Output
Open source operating systems
Application software
Web application
Computer Programming
Programming language
Cloud deployment models
Types of application software
Gopher Protocol
Learn html Basics
System software
JINI Technology
OPERATING SYSTEM
Ad

Similar to High Level Languages (Imperative, Object Orientated, Declarative) (20)

PPTX
Introduction To Computer Programming
PPTX
Lec.01-03.pptx for object oriented programming language
PPT
Lecture 8
PPTX
Programming languages and paradigms
PPTX
Advanced Programming practices - UNIT 1 .pptx
PPTX
Programming Lecture 01 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
PPTX
java programming for students UNIT 1.pptx
PPTX
Programming languages of computer
PPT
Introduction to high level Computer programming
PPTX
Chapter 5
PDF
Computer Programming
PPTX
programming.pptx
PPTX
introduction to programming languages
PPT
English de lenguaje de programacion
PDF
sege.pdf
PDF
Introduction to computer programming
PPTX
Python-unit -I.pptx
DOC
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
PPT
Introduction to the Programing Fundamentals Course.ppt
PPTX
Mcs lec2
Introduction To Computer Programming
Lec.01-03.pptx for object oriented programming language
Lecture 8
Programming languages and paradigms
Advanced Programming practices - UNIT 1 .pptx
Programming Lecture 01 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
java programming for students UNIT 1.pptx
Programming languages of computer
Introduction to high level Computer programming
Chapter 5
Computer Programming
programming.pptx
introduction to programming languages
English de lenguaje de programacion
sege.pdf
Introduction to computer programming
Python-unit -I.pptx
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
Introduction to the Programing Fundamentals Course.ppt
Mcs lec2
Ad

More from Project Student (20)

PPTX
Data Compression (Lossy and Lossless)
PPTX
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
PPTX
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
PPTX
Operating System (Scheduling, Input and Output Management, Memory Management,...
PPTX
Human Resources (HRM, Soft and Hard HRM)
PPTX
Product Life Cycle (Stages and Extension Strategies)
PPTX
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
PPTX
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
PPTX
Price (Market-Orientated and Cost-Based Pricing)
PPTX
Changes in working practices
PPTX
Hexadecimal (Calculations and Explanations)
PPTX
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
PPTX
Ascii and Unicode (Character Codes)
PPTX
Workforce Planning (Process, Labour Shortage, Excess Labour)
PPTX
Harvard vs Von Neumann Architecture
PPTX
Programming Languages / Translators
PPTX
Assembly and Machine Code
PPTX
Software (Application and System Software)
PPTX
Hardware and Software
PPTX
Enterprise (Entrepreneur, Innovation, Business Sectors, SMEs)
Data Compression (Lossy and Lossless)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Operating System (Scheduling, Input and Output Management, Memory Management,...
Human Resources (HRM, Soft and Hard HRM)
Product Life Cycle (Stages and Extension Strategies)
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Price (Market-Orientated and Cost-Based Pricing)
Changes in working practices
Hexadecimal (Calculations and Explanations)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Ascii and Unicode (Character Codes)
Workforce Planning (Process, Labour Shortage, Excess Labour)
Harvard vs Von Neumann Architecture
Programming Languages / Translators
Assembly and Machine Code
Software (Application and System Software)
Hardware and Software
Enterprise (Entrepreneur, Innovation, Business Sectors, SMEs)

Recently uploaded (20)

PPTX
Pharma ospi slides which help in ospi learning
PDF
Insiders guide to clinical Medicine.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Institutional Correction lecture only . . .
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Cell Types and Its function , kingdom of life
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Classroom Observation Tools for Teachers
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pharma ospi slides which help in ospi learning
Insiders guide to clinical Medicine.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Institutional Correction lecture only . . .
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
O7-L3 Supply Chain Operations - ICLT Program
TR - Agricultural Crops Production NC III.pdf
PPH.pptx obstetrics and gynecology in nursing
Cell Types and Its function , kingdom of life
Sports Quiz easy sports quiz sports quiz
Classroom Observation Tools for Teachers
Final Presentation General Medicine 03-08-2024.pptx
VCE English Exam - Section C Student Revision Booklet
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
STATICS OF THE RIGID BODIES Hibbelers.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
GDM (1) (1).pptx small presentation for students
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

High Level Languages (Imperative, Object Orientated, Declarative)

  • 1. Computer Science (A Level) Imperative, Declarative and Object-Orientated Languages
  • 2. 4th Generation Data query, analysis and reporting 3rd Generation Imperative 2nd Generation Assembly 1st Generation Machine code High level languages Low level languages Programming Languages - Generations
  • 4. Code is executed line by line, in a programmer defined sequence of commands and procedures (Definition)
  • 5. Tech Pupil is a site made by a student to help and assist others in their computer science courses, aspirations and learning. Imperative • Imperative language is also known as procedural language. • This works by typing in lists of instructions (subroutines and procedures) that the computer has to follow. Every time the computer program is run, it follows the same set of instructions. • Imperative programs are made up of sequence, selection and iteration blocks
  • 6. Advantages Disadvantages • Quicker and easier to write and maintain • Slower code - lacks low level processors functionality • Hardware independent – it is written and can be used many times • There are many procedural languages therefore a programmer may only learn and know one language. • Time saving programmer friendly, one of 3rd gen is the equivalent of many lines of 1st and 2nd gen • Need to be very precise and knowledgeable about programming instructions, and so a fully de-bugged working program takes more time to put together • Good level of control without having to know precise target CPU details • Doesn’t deal well with ideas and concepts • Portable source code Imperative
  • 7. A language that condenses data and instructions together into objects (Definition)
  • 8. Tech Pupil is a site made by a student to help and assist others in their computer science courses, aspirations and learning. Object-Orientated • Object orientated languages are organised around objects and data instead of actions and logic. • The operations in this type of languages can modify object behaviour. In other words, it can change an object by manipulating variables. • These wok by creating objects where the instructions and data required to run the program are contained within a single object. • Object orientated programming can be further grouped into classes
  • 9. A language that declares what needs to be done rather than how to do it (Definition)
  • 10. Tech Pupil is a site made by a student to help and assist others in their computer science courses, aspirations and learning. Declarative • Declarative language is more problem-orientated than machine-orientated. • It works by describing what the program needs to accomplish rather than how to do it. • There are 2 types of declarative language –Logic –Functional
  • 11. Tech Pupil is a site made by a student to help and assist others in their computer science courses, aspirations and learning. Declarative (Logic) One type of declarative language is logic programming, which is used widely in artificial intelligence and works by programming in facts and rules rather than instructions. The program then uses the facts and rules to interrogate data and provide results.
  • 12. Tech Pupil is a site made by a student to help and assist others in their computer science courses, aspirations and learning. Declarative (Functional) Another type of declarative language is a functional language, which works by treating procedures more like mathematical functions. Therefore, the building blocks of the program are functions rather than lists of instructions.
  • 13. A language (part of declarative language) that uses mathematical functions (Definition)
  • 14. Characteristics of High Level Programming • Easier to identify what a command does because the keywords are like natural language • High level languages need to be translated, just like assembly language • One to many relationship – one command in high level languages is a whole sequence in machine code • Portable • Easier to maintain • Makes use of wide variety of program structures to make program writing more straightforward.