SDP Languages and Environments. Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level.

Slides:



Advertisements
Similar presentations
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Advertisements

Slide 1 Today you will: Review knowledge and understanding of systems Understand what a system is and what it consists of Apply this understanding by working.
Software Development Languages and Environments. Programming languages High level languages are problem orientated contain many English words are easier.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Dynamic Web Pages Bert Wachsmuth. Review  Internet, IP addresses, ports, client-server, http, smtp  HTML, XHTML, XML  Style Sheets, external, internal,
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Russell Taylor Lecturer in Computing & Business Studies.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
A Tour of Visual Basic BACS 287. Early History of Basic Beginners All-Purpose Symbolic Instruction Code An “Interpreted” teaching language English-like.
Adding Automated Functionality to Office Applications.
Course: Introduction to Computers
Unit Six Assignment 1 Chris Boardley.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Introduction 01_intro.ppt
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
CS413: Java Programming language Applications Applets
Languages and Environments Higher Computing Unit 2 – Software Development.
1 Software Development Topic 2 Software Development Languages and Environments.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the.
Integrated Development Environment (IDE)
A PowerPoint about Algorithm’s. What is an algorithm?  a process or set of rules to be followed in calculations or other problem-solving operations,
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
1 3. Computing System Fundamentals 3.1 Language Translators.
Mel & Hot Keys Review. What’s MEL?  Maya Embedded Language  Most of Maya's interface is built using MEL commands and scripts.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Principles of Software Development 1 Principles Of Software Design and Development Types of language / Choosing a language.
A PowerPoint about Algorithm’s. What is an algorithm? A step by step process of instruction.
Alice and Algorithms Chapter 1 Part Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers.
I Power Higher Computing Software Development Development Languages and Environments.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
Computing Higher – SD Unit - Topic 5 – Languages and Environments P Lynch, St Andrew’s High School Unit 2 Software Development Process Topic 5 Languages.
1.
Intermediate 2 Computing Unit 2 - Software Development Topic 2 - Software Development Languages and Environments.
Choosing the write programming language for the job. The choice of language may be based on: The experience and expertise of the development team. The.
Intermediate 2 Computing Unit 2 - Software Development.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Operating System Concepts Three User Interfaces Command-line Job-Control Language (JCL) Graphical User Interface (GUI)
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Computer Control Using computers to do tasks. What are Computers used for? ringing your alarm clock. microwaving your breakfast checking for text messages.
Beginning JavaScript 4 th Edition. Chapter 1 Introduction to JavaScript and the Web.
Software Interfaces. Learning Objectives Describe the characteristics of different types of user interfaces. Discuss the types of user interfaces which.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
Changing Backgrounds 3 methods of achieving this.
Sequences, Modules and Variables David Millard
Part 1 The Basics of Information Systems. Purpose of Information Systems Information systems ◦ Collects, stores and organizes information ◦ Retrieves.
Comp1004: Programming in Java II Computational Thinking.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Software Development – Topic 2 Types of Programming Language.
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
Introduction to Visual Basic 2008 Programming
Algorithms Today we will look at: what the word algorithm means
Algorithms Y10 Introduction.
CIS16 Application Development Programming with Visual Basic
Fluency with Information Technology
A programming language
CS 1111 Introduction to Programming Spring 2019
Speaking Presentation
Presentation transcript:

SDP Languages and Environments

Types of Languages and Environments There are 4 main types of language that you must be able to describe at Higher level. At Intermediate level you do not have to be able to describe them! They are: 1.Procedural 2.Declarative 3.Event Driven 4.Scripting

Procedural Programs generated in procedural languages involve a sequence of operations and are often described as linear programs. Written as an ordered sequence of steps that describe exactly what it must do at each step. They have a distinct Start and End point and follow through these steps in order.

Procedural Example Example of a Procedural Algorithm to ‘Make Tea’ 1.Fill the kettle 2.Boil Water 3.Put tea bag in pot 4.Fill pot with boiling water 5.Pour tea in cup 6.Add sugar/milk if required 7.Stir 8.Drink

Declarative Completely different from procedural language! Instead of instructions telling computer what to do, declarative languages state what has to be done. They contain a series of statements: Hot(Tea) – Means tea is hot. Cold(Milk) – Means milk is cold. Which are used to describe facts: Dissolves( x, y) : sugar(x), hot water(y) This means x dissolves in y.

Declarative These facts and rules make up a knowledge base (used in expert systems). When you search for the knowledge in the database the declarative language is able to offer you information and meaning behind the data. You will not have to learn Declarative languages, merely describe them and compare them with other types!

Event Driven You have all used one of these! VB is Event Driven. It has a form where objects can be placed, so you can design the interface first. It is much quicker to design the HCI as a result. There are no definite Start and End points like a Procedural program.

Event Driven Users can interact with the program by selecting buttons, menus or windows. These interactions like button clicks are called events. Event driven simply means ‘controlled through certain events’. An operating systems like Windows is an advanced event driven program.

Scripting There are two types. –Embedded ones within an application like MS Word or Excel. –Non embedded ones that work with the OS. Applications that provide scripting capability allow the user to extend the functionality of the application by programming a sequence of actions. Making a script allows you to tailor the application to your needs.

Benefits of scripting languages One of the main benefits of scripted languages is that they require no compilation. The language is interpreted at run-time so the instructions are executed immediately. Scripting languages also have a simple syntax which, for the user: – makes them easy to learn and use – assumes minimum programming knowledge or experience – allows complex tasks to be performed in relatively few steps – allows simple creation and editing in a variety of text editors – allows the addition of dynamic and interactive activities to web pages

Macros A macro can be created by recording a sequence of keystrokes and mouse actions or entering a suitable script. A macro may be edited by making changes to its code. (Editing the script.)