SlideShare a Scribd company logo
Types of Programming
      Language


Software Design and Development



                                  1
Programming Languages

Procedural languages
Object-orientated programming
Event Driven Programming
Mark-up languages
Scripting languages



                                2
Procedural Languages
Early programs used these inc. Windows DOS
The program controls what happens not the
user although they will accept input
Procedural languages work on the basis of
explicitly telling the computer ‘how to do
something’ by using a sequence of commands
called imperatives e.g. do this, then do that etc
  Examples are C, Fortran, Pascal, and Basic



                                                    3
Procedural Languages
  Tasks are broken into a number of stages
  known as procedures or subroutines
  Each procedure carries out a specific task
An example procedure (using Pascal) which calculates the average
  of two numbers inputted by the user and displays the result
  readln(Num1)                  read first number from keyboard
                                and put value in variable Num1
  readln(Num2)                  read second number from
                                keyboard and put value in variable
                                Num2
  Average:=(Num1+Num2)/2        calculate average of Num1 and
                                Num2 and place the result in
                                variable Average
  writln(Average)               Display the value of variable
                                Average on the screen
                                                                     4
Object-orientated programming (OOP)
 Is relatively new and not used until the 1990’s
 when programs got more complex
 The program is broken down into objects, not
 lists of instructions
 Each object can perform tasks and
 communicate with other objects
 An object contains related data and procedures
 (or methods) which together define the
 behaviour of that object (i.e. how it respond to
 events)

                                                    5
Object-orientated programming (OOP)
 The object can be thought of as a small
 machine with a set job
 An objects provides services in response to
 messages (events) triggered by other objects
 or end-users who request these services
                                                        Event
                           Method


                                                  request
                 Method               Method
    Object                     Data                             Client
                                                  service


                      Method     Method

                                                     Messages

             Encapsulation / information hiding
                                                                         6
Object-orientated programming (OOP)

 Unlike procedural programming, the
 programmer does not need to know the code
 which is ‘behind’ each object making it work
 They only need to know the attributes and
 methods of each object and how to make it
 interact with other objects
 They then use the objects as ‘building blocks’
 to make the program do what they want it to
   Example OO languages are Java, C# and VB.NET


                                                  7
Event Driven Programming
These are used to create software which has a
graphical user interface (GUI), such as
Windows programs
ED languages have procedural features but
also have OO capabilities
  Examples of Event Driven languages are
  VB.NET, C# and C++




                                                8
Event Driven Programming
Event driven design has 2
stages
First the programmer designs
the GUI, placing objects such
as textboxes, buttons and
labels onto a form
Then they write the code
which gives the functionality
to the program


                                9
Markup Languages
A markup language is not a true programming
language as they do not contain instructions to
control the flow of the program.
markup languages give instructions to control
the format and layout of a file
This information is in the form of tags for
structure or presentation
The programmer can insert tables for
structure, images, hyperlinks and text using
tags
                                                  10
Markup Languages
The best-known markup example is Hypertext
Markup Language (HTML), used on the World
Wide Web
  Example:
     <title>Home Page</title>
     <style type="text/css" media="screen">
        @import "stylesheets/public.css";
        body { background-color: white };
      </style>
Another example is XML (Extensible Markup
Language) which allows users to write their
own tags
                                              11
Scripting languages
Where web pages need to carry out
programming functions the code for this has
to be included within the HTML using a
scripting language.
  An example of this is JavaScript or vbscript
Scripting languages can be typed in directly
from a keyboard and the language used will
be specific to each application


                                                 12
Scripting languages
Some are used to execute a series of
commands that would otherwise have to be
typed in via a keyboard / mouse
These can be used to control the operating
system and are known as a shell script
language
  e.g. Windows Powershell
Others allow users to write
short, simple, programs or add functionality to
applications
  e.g. macros in Access or Excel
                                                  13
Which language to use depends on:
 Organisational policy – your company may be
 ‘tied’ to Microsoft or Macintosh
 Will it work on the hardware already used?
 Does it do what we need it to?
 Are current staff trained in its use?
 Is it reliable? Important for safety-critical
 systems!
 Costs of developing and maintaining programs
 Will it be expandable in future?
                                                 14

More Related Content

What's hot

High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)
Project Student
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
software development and programming languages
software development and programming languages software development and programming languages
software development and programming languages
PraShant Kumar
 
Programming Languages An Intro
Programming Languages An IntroProgramming Languages An Intro
Programming Languages An Intro
Kimberly De Guzman
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
Juhi Bhoyar
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
Jasper John Cinatad
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
Syed Zaid Irshad
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
actanimation
 
Computer fundamental
Computer fundamentalComputer fundamental
Computer fundamental
rachit jaish
 
Comparative Study of programming Languages
Comparative Study of programming LanguagesComparative Study of programming Languages
Comparative Study of programming Languages
Ishan Monga
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
REHAN IJAZ
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
agorolabs
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
Vivek Parihar
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
Vaibhav Bajaj
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
Buxoo Abdullah
 
computer languages
computer languagescomputer languages
computer languages
The millennium school
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
Newreborn Incarnation
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits
Vijay Singh Khatri
 
Software development slides
Software development slidesSoftware development slides
Software development slides
iarthur
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs
 

What's hot (20)

High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
software development and programming languages
software development and programming languages software development and programming languages
software development and programming languages
 
Programming Languages An Intro
Programming Languages An IntroProgramming Languages An Intro
Programming Languages An Intro
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
 
Computer fundamental
Computer fundamentalComputer fundamental
Computer fundamental
 
Comparative Study of programming Languages
Comparative Study of programming LanguagesComparative Study of programming Languages
Comparative Study of programming Languages
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
computer languages
computer languagescomputer languages
computer languages
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 

Viewers also liked

Writing algorithms
Writing algorithmsWriting algorithms
Writing algorithms
Krishna Chaytaniah
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
nicky_walters
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
nicky_walters
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
nicky_walters
 
Decisions
DecisionsDecisions
Decisions
nicky_walters
 
Design for edp
Design for edpDesign for edp
Design for edp
nicky_walters
 
Software development lifecycle
Software development lifecycleSoftware development lifecycle
Software development lifecycle
nicky_walters
 
Ch 3 event driven programming
Ch 3 event driven programmingCh 3 event driven programming
Ch 3 event driven programming
Chaffey College
 
Data structures vb
Data structures vbData structures vb
Data structures vb
nicky_walters
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
Frankie Jones
 
Decisions
DecisionsDecisions
Decisions
nicky_walters
 
Design documentation
Design documentationDesign documentation
Design documentation
nicky_walters
 
Iteration
IterationIteration
Iteration
Liam Dunphy
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
nicky_walters
 
Event driven theory
Event driven theoryEvent driven theory
Event driven theory
nickywalters
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
nicky_walters
 
Algorithms
AlgorithmsAlgorithms
Algorithms
nicky_walters
 
Event driven programming amazeballs
Event driven programming amazeballsEvent driven programming amazeballs
Event driven programming amazeballs
MsWillcox
 
Controls
ControlsControls
Controls
nicky_walters
 
Event oriented programming
Event oriented programmingEvent oriented programming
Event oriented programming
Ashwini Awatare
 

Viewers also liked (20)

Writing algorithms
Writing algorithmsWriting algorithms
Writing algorithms
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
 
Decisions
DecisionsDecisions
Decisions
 
Design for edp
Design for edpDesign for edp
Design for edp
 
Software development lifecycle
Software development lifecycleSoftware development lifecycle
Software development lifecycle
 
Ch 3 event driven programming
Ch 3 event driven programmingCh 3 event driven programming
Ch 3 event driven programming
 
Data structures vb
Data structures vbData structures vb
Data structures vb
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
 
Decisions
DecisionsDecisions
Decisions
 
Design documentation
Design documentationDesign documentation
Design documentation
 
Iteration
IterationIteration
Iteration
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
 
Event driven theory
Event driven theoryEvent driven theory
Event driven theory
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
Event driven programming amazeballs
Event driven programming amazeballsEvent driven programming amazeballs
Event driven programming amazeballs
 
Controls
ControlsControls
Controls
 
Event oriented programming
Event oriented programmingEvent oriented programming
Event oriented programming
 

Similar to Ndu06 typesof language

Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
nicky_walters
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
farhan amjad
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
ZcelTablizo3
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
meisaina
 
Unit 1
Unit 1Unit 1
Unit 1
ankita1317
 
JAVA
JAVAJAVA
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
AmanGunner
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's Development
Rabin BK
 
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
sudharsanm56
 
Programming
ProgrammingProgramming
Programming
shalsmart12
 
Information systems software
Information systems softwareInformation systems software
Information systems software
Prof. Othman Alsalloum
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
MAHAMASADIK
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
DivyaKS12
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docx
prakashvs7
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
richagarg16
 
Programming
ProgrammingProgramming
Programming
vanesa4ab
 
Bis Chapter4
Bis Chapter4Bis Chapter4
Bis Chapter4
Chun Hoi Lam
 
Chapter no 1
Chapter no 1Chapter no 1
SYSTEM DEVELOPMENT
SYSTEM DEVELOPMENTSYSTEM DEVELOPMENT
SYSTEM DEVELOPMENT
shahzadebaujiti
 
Programming in c++
Programming in c++Programming in c++
Programming in c++
sujathavvv
 

Similar to Ndu06 typesof language (20)

Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Unit 1
Unit 1Unit 1
Unit 1
 
JAVA
JAVAJAVA
JAVA
 
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's Development
 
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
 
Programming
ProgrammingProgramming
Programming
 
Information systems software
Information systems softwareInformation systems software
Information systems software
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
 
PCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docxPCCF-UNIT 2-1 new.docx
PCCF-UNIT 2-1 new.docx
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
 
Programming
ProgrammingProgramming
Programming
 
Bis Chapter4
Bis Chapter4Bis Chapter4
Bis Chapter4
 
Chapter no 1
Chapter no 1Chapter no 1
Chapter no 1
 
SYSTEM DEVELOPMENT
SYSTEM DEVELOPMENTSYSTEM DEVELOPMENT
SYSTEM DEVELOPMENT
 
Programming in c++
Programming in c++Programming in c++
Programming in c++
 

More from nicky_walters

Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
nicky_walters
 
Event driventheory
Event driventheoryEvent driventheory
Event driventheory
nicky_walters
 
Debugging
DebuggingDebugging
Debugging
nicky_walters
 
Using loops
Using loopsUsing loops
Using loops
nicky_walters
 
Input output
Input outputInput output
Input output
nicky_walters
 
Decisions
DecisionsDecisions
Decisions
nicky_walters
 
Intro to visual studio 2008
Intro to visual studio 2008Intro to visual studio 2008
Intro to visual studio 2008
nicky_walters
 
Input output
Input outputInput output
Input output
nicky_walters
 

More from nicky_walters (8)

Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Event driventheory
Event driventheoryEvent driventheory
Event driventheory
 
Debugging
DebuggingDebugging
Debugging
 
Using loops
Using loopsUsing loops
Using loops
 
Input output
Input outputInput output
Input output
 
Decisions
DecisionsDecisions
Decisions
 
Intro to visual studio 2008
Intro to visual studio 2008Intro to visual studio 2008
Intro to visual studio 2008
 
Input output
Input outputInput output
Input output
 

Recently uploaded

Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 

Recently uploaded (20)

Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 

Ndu06 typesof language

  • 1. Types of Programming Language Software Design and Development 1
  • 2. Programming Languages Procedural languages Object-orientated programming Event Driven Programming Mark-up languages Scripting languages 2
  • 3. Procedural Languages Early programs used these inc. Windows DOS The program controls what happens not the user although they will accept input Procedural languages work on the basis of explicitly telling the computer ‘how to do something’ by using a sequence of commands called imperatives e.g. do this, then do that etc Examples are C, Fortran, Pascal, and Basic 3
  • 4. Procedural Languages Tasks are broken into a number of stages known as procedures or subroutines Each procedure carries out a specific task An example procedure (using Pascal) which calculates the average of two numbers inputted by the user and displays the result readln(Num1) read first number from keyboard and put value in variable Num1 readln(Num2) read second number from keyboard and put value in variable Num2 Average:=(Num1+Num2)/2 calculate average of Num1 and Num2 and place the result in variable Average writln(Average) Display the value of variable Average on the screen 4
  • 5. Object-orientated programming (OOP) Is relatively new and not used until the 1990’s when programs got more complex The program is broken down into objects, not lists of instructions Each object can perform tasks and communicate with other objects An object contains related data and procedures (or methods) which together define the behaviour of that object (i.e. how it respond to events) 5
  • 6. Object-orientated programming (OOP) The object can be thought of as a small machine with a set job An objects provides services in response to messages (events) triggered by other objects or end-users who request these services Event Method request Method Method Object Data Client service Method Method Messages Encapsulation / information hiding 6
  • 7. Object-orientated programming (OOP) Unlike procedural programming, the programmer does not need to know the code which is ‘behind’ each object making it work They only need to know the attributes and methods of each object and how to make it interact with other objects They then use the objects as ‘building blocks’ to make the program do what they want it to Example OO languages are Java, C# and VB.NET 7
  • 8. Event Driven Programming These are used to create software which has a graphical user interface (GUI), such as Windows programs ED languages have procedural features but also have OO capabilities Examples of Event Driven languages are VB.NET, C# and C++ 8
  • 9. Event Driven Programming Event driven design has 2 stages First the programmer designs the GUI, placing objects such as textboxes, buttons and labels onto a form Then they write the code which gives the functionality to the program 9
  • 10. Markup Languages A markup language is not a true programming language as they do not contain instructions to control the flow of the program. markup languages give instructions to control the format and layout of a file This information is in the form of tags for structure or presentation The programmer can insert tables for structure, images, hyperlinks and text using tags 10
  • 11. Markup Languages The best-known markup example is Hypertext Markup Language (HTML), used on the World Wide Web Example: <title>Home Page</title> <style type="text/css" media="screen"> @import "stylesheets/public.css"; body { background-color: white }; </style> Another example is XML (Extensible Markup Language) which allows users to write their own tags 11
  • 12. Scripting languages Where web pages need to carry out programming functions the code for this has to be included within the HTML using a scripting language. An example of this is JavaScript or vbscript Scripting languages can be typed in directly from a keyboard and the language used will be specific to each application 12
  • 13. Scripting languages Some are used to execute a series of commands that would otherwise have to be typed in via a keyboard / mouse These can be used to control the operating system and are known as a shell script language e.g. Windows Powershell Others allow users to write short, simple, programs or add functionality to applications e.g. macros in Access or Excel 13
  • 14. Which language to use depends on: Organisational policy – your company may be ‘tied’ to Microsoft or Macintosh Will it work on the hardware already used? Does it do what we need it to? Are current staff trained in its use? Is it reliable? Important for safety-critical systems! Costs of developing and maintaining programs Will it be expandable in future? 14