SlideShare una empresa de Scribd logo
1 de 14
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

Más contenido relacionado

La actualidad más candente

introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
01. introduction to-programming
01. introduction to-programming01. introduction to-programming
01. introduction to-programmingStoian Kirov
 
Introduction to Human Computer Interaction
Introduction to Human Computer InteractionIntroduction to Human Computer Interaction
Introduction to Human Computer InteractionSyira Azhari
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen de Castro
 
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 pariharVivek Parihar
 
Compiler Design
Compiler DesignCompiler Design
Compiler DesignMir Majid
 
Integrated Development Environments (IDE)
Integrated Development Environments (IDE) Integrated Development Environments (IDE)
Integrated Development Environments (IDE) SeanPereira2
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming LanguagesProject Student
 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programmingJordan Delacruz
 
Introduction to Compiler Construction
Introduction to Compiler Construction Introduction to Compiler Construction
Introduction to Compiler Construction Sarmad Ali
 
Programming languages
Programming languagesProgramming languages
Programming languagesAkash Varaiya
 
Why programming is important
Why programming is importantWhy programming is important
Why programming is importantAman Kumar
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
 

La actualidad más candente (20)

Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Compiler design
Compiler designCompiler design
Compiler design
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
01. introduction to-programming
01. introduction to-programming01. introduction to-programming
01. introduction to-programming
 
Introduction to Human Computer Interaction
Introduction to Human Computer InteractionIntroduction to Human Computer Interaction
Introduction to Human Computer Interaction
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
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
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
 
Integrated Development Environments (IDE)
Integrated Development Environments (IDE) Integrated Development Environments (IDE)
Integrated Development Environments (IDE)
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
 
Introduction to .Net
Introduction to .NetIntroduction to .Net
Introduction to .Net
 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programming
 
Introduction to Compiler Construction
Introduction to Compiler Construction Introduction to Compiler Construction
Introduction to Compiler Construction
 
Compiler Construction
Compiler ConstructionCompiler Construction
Compiler Construction
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Why programming is important
Why programming is importantWhy programming is important
Why programming is important
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 

Destacado

Destacado (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 a Ndu06 typesof language

Similar a 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++
 

Más de nicky_walters

Más de 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
 

Último

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

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