Mr C Johnston ICT Teacher www.computechedu.co.uk BTEC IT Unit 06 - Lesson 01 Introduction to Computer Programming.

Slides:



Advertisements
Similar presentations
What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
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.
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
BTEC Unit 06 – Lesson 04 Evidencing P2 Mr C Johnston ICT Teacher
CIS101 Introduction to Computing Week 12 Spring 2004.
Chapter 4 Sec. 4.1, 4.2, 4.4 Procedures (User-defined)
Copyright © 2001 by Wiley. All rights reserved. Chapter 1: Introduction to Programming and Visual Basic Computer Operations What is Programming? OOED Programming.
Software design and development Marcus Hunt. Application and limits of procedural programming Procedural programming is a powerful language, typically.
Unit Six Assignment 1 Chris Boardley.
Describe the application and limits of procedural, object orientated and event driven programming. 
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 11 Slide 1 Architectural Design.
Wizards, Templates, Styles & Macros Chapter 3. Contents This presentation covers the following: – Purpose, Characteristics, Advantages and Disadvantages.
CW-V1 SDD 0201 Principals of Software Design and Development Introduction to Programming Languages.
Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 02 Types of Programming Language.
How do people communicate with computers?
Ch 26 & 27 User Interfaces.
Unit 20: Event Driven Programming
Languages and Environments Higher Computing Unit 2 – Software Development.
1 Software Development Topic 2 Software Development Languages and Environments.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Learning Objectives Data and Information Six Basic Operations Computer Operations Programs and Programming What is Programming? Types of Languages Levels.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Mr C Johnston ICT Teacher BTEC IT Unit 09 - Lesson 06 Peer-to-Peer VS Client-Server.
11.10 Human Computer Interface www. ICT-Teacher.com.
AS Level ICT Selection and use of appropriate software: Interfaces.
Mr C Johnston ICT Teacher
BTEC Unit 06 – Lesson 06 Evidencing P4 Mr C Johnston ICT Teacher
Mr C Johnston ICT Teacher
BTEC Unit 06 – Lesson 08 Principals of Software Design Mr C Johnston ICT Teacher
C H A P T E R T E N Event-Driven Programming Programming Languages – Principles and Paradigms by Allen Tucker, Robert Noonan.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
University of Sunderland CIF 102/FIF102 Fundamentals of DatabasesUnit 15 Programming in Microsoft Access using VBA Using VBA to add functionality.
I Power Higher Computing Software Development Development Languages and Environments.
Mr C Johnston ICT Teacher
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
Chapter One An Introduction to Programming and Visual Basic.
Mr C Johnston ICT Teacher BTEC IT Unit 03 - Lesson 07 Information System Case Studies.
Overview.ppt Overview-An Overview of Visual Basic.NET An Overview of Visual Basic.NET.
BTEC Unit 06 – Lesson 06 Evidencing P3 Mr C Johnston ICT Teacher
Human Computer Interface INT211
Once you have been through these notes you will need to complete the workbook.
6. (supplemental) User Interface Design. User Interface Design System users often judge a system by its interface rather than its functionality A poorly.
Dr D. Greer, Queens University Belfast ) Software Engineering Chapter 7 Software Architectural Design Learning Outcomes Understand.
Mr L Challenor ICT Teacher BTEC IT Unit 02 - Lesson 06 Computer Software.
Unit 2 Technology Systems
Development Environment
Unit 2 Technology Systems
Introduction to Programming and Visual Basic
Introduction to Event-Driven Programming
Event-driven programming
Event loops 16-Jun-18.
Unit 20: Event Driven Programming
An Introduction to Visual Basic
Chapter 4 Computer Software.
Teaching Computing to GCSE
Computers: Hardware and Software
Event loops.
Why Object-oriented Programming?
Chapter One: An Introduction to Programming and Visual Basic
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Chapter 13: Construction
Object oriented vs procedural vs event driven programming
Event loops 8-Apr-19.
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 01 Introduction to Computer Programming

Session Objectives Be able to describe what a computer program is, Have an understanding of some of the information required to produce a program for a client, Discuss different programming paradigms and some of the associated advantages and disadvantages.

What is a Program? A computer is a ‘dumb’ machine. Everything the computer does is in response to program instructions. Its processor can obey a fixed set of instructions (e.g. add two numbers together). Called the instruction set. A program tells the processor what to do.

Programs… Low and High Level Processor instructions are in binary codes Binary code is very hard for humans to read Therefore almost all programs are written in ‘High level’ languages These have ‘English like’ instructions rather than binary codes e.g. Binary Code: High level code:Profit = Sales - expenses

Procedural Approach Most approaches to dealing with the complexity of modern programs involve splitting programs into different sections. These are called modules or procedures. The procedural approach to programming involves dividing the overall system into different procedures which work together to provide all the required functionality.

Object Orientated Approach One problem with the procedural approach is the interaction between the procedures can create too much complexity itself. To try to resolve this problem the Object Orientated (OO) approach was developed. The OO approach splits a system into objects. Objects interact with each other in a different way to procedures.

OO vs Procedural Programs consist of instructions and data. In the procedural approach the procedures in a system share data. In the OO approach the data is ‘hidden’ inside the object. Object Data Object Data Object Data procedure Data

OO / Procedural Comparison The procedural approach is good for writing relatively simple programs. Its also conceptually simpler so its often used when first learning to write programs. However its not such a good approach for developing complex systems. The OO approach, while conceptually more difficult to understand is often used for very complex systems. The OO approach can be difficult to understand for first time programmers.

BTEC Book – Unit 06 p4/5

Event Driven The Event driven approach to programming is used in Windows software environments. Event driven programs can be written using either the procedural or the OO approach. With the event driven approach a program responds to user events such as clicking a menu or button

Event Driven Programming The Event driven approach to programming is used when creating programs which use the Windows user interface or other GUI Event driven programs can be written using either the procedural or the OO approach. With the event driven approach a program responds to user events such as clicking a menu or button In an event driven system there are two main parts to the program: An event handler which waits for an event to occur. When it does it asks the appropriate event procedure to deal with it. Event procedures. These must be created to deal with each event that the program responds to. It is not suitable for writing programs which don’t use the windows user interface.

Procedural Programming Languages Definition of paradigm Likely advantages and use Likely disadvantages and what not used for

Definition of paradigm Likely advantages and use Likely disadvantages and what not used for Object Orientated Programming Languages

Definition of paradigm Likely advantages and use Likely disadvantages and what not used for Event Driven Programming Languages

P1Evidence For P1 you need to produced some PowerPoint slides on the applications and limitations of procedural, object orientated and event driven programming approaches, Ensure your slides conform to standard practices – i.e. not too much text on slides and explanation in speaker notes. When considering the different program paradigms you should give some examples of the type of program these approaches should be used for, When covering limitations you should explain the likely disadvantages of each approach and what sort of applications they would not be normally used for, You are expected to reference all three paradigms within your work. P1 – describe the application and limits of procedural, object orientated and event driven programming paradigms