Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mr C Johnston ICT Teacher www.computechedu.co.uk BTEC IT Unit 06 - Lesson 02 Types of Programming Language.

Similar presentations


Presentation on theme: "Mr C Johnston ICT Teacher www.computechedu.co.uk BTEC IT Unit 06 - Lesson 02 Types of Programming Language."— Presentation transcript:

1 Mr C Johnston ICT Teacher www.computechedu.co.uk BTEC IT Unit 06 - Lesson 02 Types of Programming Language

2 Session Objectives Understand different types of programming language, Discover similarities and differences between some of the programming languages.

3 Types of Language There are a number of different types of programming languages, for example: visual languages mark-up languages script languages. These are used for programming in different situations

4 Visual Languages Used to write programs for Windows software environment. Usually do a lot of the work for the programmer by providing tools to create Windows elements such as forms, dialog boxes, buttons, scroll bars etc. Usually create event driven programs which respond to mouse clicks and other Windows events. Microsoft Visual Basic is a good example.

5 Mark-Up Languages The best known example of a mark-up language is HTML (Hyper Text Mark-up Language). Used to format web pages. Uses ‘tags’ to control the formatting of text e.g. this text would be shown in bold. Not really a programming language in the traditional sense – cannot control program flow with selection or loop structures.

6 HTML Example Simple web page This is a simple web page This text is in bold This is a link to the BBC web site

7 Script Languages Small programs used within an application to provide extra functionality. Examples include: Spreadsheet macros – recorded or written within an Excel spreadsheet to add automated functions. JavaScript – used within web pages. The JavaScript code is embedded within the HTML.

8 JavaScript Example HTML tags JavaScript code (defining the function)‏ JavaScript code (calling the function)‏ function displaymessage()‏ { alert("Hello World!"); } By pressing the button above, a function will be called. The function will alert a message.

9 BTEC Book – Unit 06 p4/5


Download ppt "Mr C Johnston ICT Teacher www.computechedu.co.uk BTEC IT Unit 06 - Lesson 02 Types of Programming Language."

Similar presentations


Ads by Google