SlideShare a Scribd company logo
1 of 14
ND Unit 06

Types of Programming Language
This session will cover:
   Procedural languages
   Object-orientated programming
   Visual languages
   Mark-up languages
   Scripting languages

   To Pass assignment 1 you must describe 4
    different types of language [P1]
Procedural Languages

 Early Windows programs used these
 The program controls what happens not the
  user
 The task is completed based on user input
 Tasks are broken into a number of stages
  known as procedures or subroutines
Procedural Languages
  Each procedure does a specific part of
   the task
  For example a procedure might open a
   file, read in a number or multiply 2
   numbers
  Examples are C, Fortran, Pascal, and
   Basic
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
 The object can be thought of as a small
  machine with a set job
Object-orientated Example
 A company’s personnel records program
  would have an employee object
 The employee object would have features
  such as Forename Surname and date of birth
  – we call these attributes
 The object would also have actions such as
  join company, leave company, change details
  – we call these methods
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
  Examples languages capable of OO are
   Java, C# and VB.NET
Visual Programming Languages
  These are used to create software
   which has a graphical user interface
   (GUI), such as Windows programs
  VP languages have procedural features
   but also have OO capabilities
  Examples of VP languages are Visual
   Basic.NET and Visual C++
Visual Programming Languages
  VP 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
Markup Languages
  A markup language combines text and
   extra information about the text
  This extra information is in the form of tags
  Tags control the structure or presentation of
   the text – should it be large or small
   font, blue, green, bold or underlined?
  The programmer can also insert
   images, hyperlinks and tables into the text
   using tags
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
Scripting languages
  Scripting languages can be typed in directly
   from a keyboard
  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
  Examples are VBScript and Windows
   Powershell
Scripting languages
  Others allow users to write
   short, simple, programs
  Often the language used is specific to each
   application such as the macro languages
   used in Access or Excel
  Script can also be used to write functions that
   are included in HTML pages to do tasks which
   can’t be done with HTML alone
  An example of this is JavaScript
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?

More Related Content

What's hot

Software programming and development
Software programming and developmentSoftware programming and development
Software programming and developmentAli Raza
 
CSC103 Intro to Programming
CSC103 Intro to ProgrammingCSC103 Intro to Programming
CSC103 Intro to ProgrammingRichard Homa
 
computer languages
computer languagescomputer languages
computer languagesgulpari2
 
Programming language
Programming languageProgramming language
Programming languagezeshmaiqbal
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming ivEyelean xilef
 
Programming languages
Programming languagesProgramming languages
Programming languagesAkash Varaiya
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scriptssana mateen
 
Top 10 programming languages
Top 10 programming languagesTop 10 programming languages
Top 10 programming languagesAman Kumar
 
Programming language
Programming languageProgramming language
Programming languageRajThakuri
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programmingMohammad Kamrul Hasan
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
C programming language for beginners
C programming language for beginners C programming language for beginners
C programming language for beginners ShreyaSingh291866
 
Introduction to visual basic
Introduction to visual basicIntroduction to visual basic
Introduction to visual basicManav Khandelwal
 

What's hot (19)

Programming language
Programming languageProgramming language
Programming language
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
 
CSC103 Intro to Programming
CSC103 Intro to ProgrammingCSC103 Intro to Programming
CSC103 Intro to Programming
 
computer languages
computer languagescomputer languages
computer languages
 
Programming language
Programming languageProgramming language
Programming language
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming iv
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Top 10 programming languages
Top 10 programming languagesTop 10 programming languages
Top 10 programming languages
 
Programming language
Programming languageProgramming language
Programming language
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
INTRODUCTIONS OF HTML
INTRODUCTIONS OF HTMLINTRODUCTIONS OF HTML
INTRODUCTIONS OF HTML
 
Lecture 1 (intro to programming
Lecture 1 (intro to programmingLecture 1 (intro to programming
Lecture 1 (intro to programming
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
C programming language for beginners
C programming language for beginners C programming language for beginners
C programming language for beginners
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 
Introduction to visual basic
Introduction to visual basicIntroduction to visual basic
Introduction to visual basic
 

Viewers also liked

Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective cSunny Shaikh
 
Objective-C: a gentle introduction
Objective-C: a gentle introductionObjective-C: a gentle introduction
Objective-C: a gentle introductionGabriele Petronella
 
iPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-CiPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-CIMC Institute
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective cMayank Jalotra
 
Intro to Objective C
Intro to Objective CIntro to Objective C
Intro to Objective CAshiq Uz Zoha
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective csagaroceanic11
 
I Phone Development Presentation
I Phone Development PresentationI Phone Development Presentation
I Phone Development PresentationAessam
 
Iphone programming: Objective c
Iphone programming: Objective cIphone programming: Objective c
Iphone programming: Objective cKenny Nguyen
 
Hybrid vs Native Mobile App. Decide in 5 minutes!
Hybrid vs Native Mobile App. Decide in 5 minutes!Hybrid vs Native Mobile App. Decide in 5 minutes!
Hybrid vs Native Mobile App. Decide in 5 minutes!July Systems
 
Objective-C for iOS Application Development
Objective-C for iOS Application DevelopmentObjective-C for iOS Application Development
Objective-C for iOS Application DevelopmentDhaval Kaneria
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - CJussi Pohjolainen
 
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
 
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScriptReact Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScriptKobkrit Viriyayudhakorn
 
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)Project Student
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 

Viewers also liked (20)

Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective c
 
Objective-C: a gentle introduction
Objective-C: a gentle introductionObjective-C: a gentle introduction
Objective-C: a gentle introduction
 
iPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-CiPhone Programming [1/17] : Objective-C
iPhone Programming [1/17] : Objective-C
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective c
 
Intro to Objective C
Intro to Objective CIntro to Objective C
Intro to Objective C
 
Objective-C for Beginners
Objective-C for BeginnersObjective-C for Beginners
Objective-C for Beginners
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective c
 
I Phone Development Presentation
I Phone Development PresentationI Phone Development Presentation
I Phone Development Presentation
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - C
 
Iphone programming: Objective c
Iphone programming: Objective cIphone programming: Objective c
Iphone programming: Objective c
 
Hybrid vs Native Mobile App. Decide in 5 minutes!
Hybrid vs Native Mobile App. Decide in 5 minutes!Hybrid vs Native Mobile App. Decide in 5 minutes!
Hybrid vs Native Mobile App. Decide in 5 minutes!
 
Objective-C for iOS Application Development
Objective-C for iOS Application DevelopmentObjective-C for iOS Application Development
Objective-C for iOS Application Development
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - C
 
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)
 
Object-Orientated Design
Object-Orientated DesignObject-Orientated Design
Object-Orientated Design
 
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScriptReact Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
 
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Objective-C
Objective-CObjective-C
Objective-C
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 

Similar to Ndu06 typesof language

Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof languagenicky_walters
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology Vaishnavirakshe2
 
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.docAmanGunner
 
Week 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docxWeek 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docxjessiehampson
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxAsst.prof M.Gokilavani
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's DevelopmentRabin BK
 
Basic computing: Lesson 2 - computer software
Basic computing: Lesson 2 - computer softwareBasic computing: Lesson 2 - computer software
Basic computing: Lesson 2 - computer softwareMD. Anisur Rahman Bhuyan
 
Class 17-18 Introduction to Perl.pdf bbbbbb
Class 17-18 Introduction to Perl.pdf bbbbbbClass 17-18 Introduction to Perl.pdf bbbbbb
Class 17-18 Introduction to Perl.pdf bbbbbb21h51a0581
 
La 5 Programming1
La 5   Programming1La 5   Programming1
La 5 Programming1Cma Mohd
 
The Concept Of Abstract Data Types
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data TypesKaty Allen
 
Procedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesProcedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesTammy Moncrief
 

Similar to Ndu06 typesof language (20)

Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Bis Chapter4
Bis Chapter4Bis Chapter4
Bis Chapter4
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology
 
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
 
Programming
ProgrammingProgramming
Programming
 
Week 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docxWeek 3 Lecture 1 - Business SoftwareManagement of Information .docx
Week 3 Lecture 1 - Business SoftwareManagement of Information .docx
 
Software
SoftwareSoftware
Software
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's Development
 
Basic computing: Lesson 2 - computer software
Basic computing: Lesson 2 - computer softwareBasic computing: Lesson 2 - computer software
Basic computing: Lesson 2 - computer software
 
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
 
Unit 1
Unit 1Unit 1
Unit 1
 
JAVA
JAVAJAVA
JAVA
 
Programming
ProgrammingProgramming
Programming
 
Class 17-18 Introduction to Perl.pdf bbbbbb
Class 17-18 Introduction to Perl.pdf bbbbbbClass 17-18 Introduction to Perl.pdf bbbbbb
Class 17-18 Introduction to Perl.pdf bbbbbb
 
La 5 Programming1
La 5   Programming1La 5   Programming1
La 5 Programming1
 
The Concept Of Abstract Data Types
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data Types
 
Procedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesProcedural Programming Of Programming Languages
Procedural Programming Of Programming Languages
 

More from nicky_walters (20)

Design documentation
Design documentationDesign documentation
Design documentation
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
Software development lifecycle
Software development lifecycleSoftware development lifecycle
Software development lifecycle
 
Data structures vb
Data structures vbData structures vb
Data structures vb
 
Design for edp
Design for edpDesign for edp
Design for edp
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Event driventheory
Event driventheoryEvent driventheory
Event driventheory
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
 
Simple debugging
Simple debuggingSimple debugging
Simple debugging
 
Debugging
DebuggingDebugging
Debugging
 
Using loops
Using loopsUsing loops
Using loops
 
Input output
Input outputInput output
Input output
 
Decisions
DecisionsDecisions
Decisions
 
Decisions
DecisionsDecisions
Decisions
 
Controls
ControlsControls
Controls
 
Decisions
DecisionsDecisions
Decisions
 
Intro to visual studio 2008
Intro to visual studio 2008Intro to visual studio 2008
Intro to visual studio 2008
 

Ndu06 typesof language

  • 1. ND Unit 06 Types of Programming Language
  • 2. This session will cover:  Procedural languages  Object-orientated programming  Visual languages  Mark-up languages  Scripting languages  To Pass assignment 1 you must describe 4 different types of language [P1]
  • 3. Procedural Languages  Early Windows programs used these  The program controls what happens not the user  The task is completed based on user input  Tasks are broken into a number of stages known as procedures or subroutines
  • 4. Procedural Languages  Each procedure does a specific part of the task  For example a procedure might open a file, read in a number or multiply 2 numbers  Examples are C, Fortran, Pascal, and Basic
  • 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  The object can be thought of as a small machine with a set job
  • 6. Object-orientated Example  A company’s personnel records program would have an employee object  The employee object would have features such as Forename Surname and date of birth – we call these attributes  The object would also have actions such as join company, leave company, change details – we call these methods
  • 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  Examples languages capable of OO are Java, C# and VB.NET
  • 8. Visual Programming Languages  These are used to create software which has a graphical user interface (GUI), such as Windows programs  VP languages have procedural features but also have OO capabilities  Examples of VP languages are Visual Basic.NET and Visual C++
  • 9. Visual Programming Languages  VP 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
  • 10. Markup Languages  A markup language combines text and extra information about the text  This extra information is in the form of tags  Tags control the structure or presentation of the text – should it be large or small font, blue, green, bold or underlined?  The programmer can also insert images, hyperlinks and tables into the text using tags
  • 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
  • 12. Scripting languages  Scripting languages can be typed in directly from a keyboard  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  Examples are VBScript and Windows Powershell
  • 13. Scripting languages  Others allow users to write short, simple, programs  Often the language used is specific to each application such as the macro languages used in Access or Excel  Script can also be used to write functions that are included in HTML pages to do tasks which can’t be done with HTML alone  An example of this is JavaScript
  • 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?