ICT Programming Lesson 5:

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

Lesson One: The Beginning Chapter 3: Interaction Learning Processing: by Daniel Shiffman Presentation by Donald W. Smith Graphics from text.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Loops, and sub-routines Interrupts Can be very useful in control applications particularly when the microprocessor must perform two tasks apparently.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Fall 2007ACS-1805 Ron McFadyen1 Chapter 5 Interactive Programs.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 02 Types of Programming Language.
Unit 20: Event Driven Programming
Welcome! The Topic For Today Is…Review for Test. Your Topic Basics of Programming Control Statements Programming Concepts InteractionAlice Concepts 200.
Study Guide For Test Chapter 5, 6,& 7 Test is Friday, May 15th.
Python Mini-Course University of Oklahoma Department of Psychology Day 2 – Lesson 6 Program Design 4/18/09 Python Mini-Course: Day 2 - Lesson 6 1.
Review For Test Chapter 4 & 5 Test is Wednesday, January 27th.
Introduction to Windows Programming
Chapter 3 Functions, Events, and Control Structures JavaScript, Third Edition.
Alice 2.0 an introduction to computer programming.
Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time.
Intro to Programming Web Design ½ Shade Adetoro. Programming Slangs IDE - Integrated Development Environment – the software in which you develop an application.
List Search Alice. Common Uses of Lists Iterating through a list of several like items to accomplish the same task with each item. As in the previous.
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
Peeking at Programming with JavaScript. So what’s JavaScript ? A programming language built into your Web Browser program. Adds fun and interactivity.
Simple Clicker App WPF App using C#. App Requirement Need a ‘counter’ display, which starts at 0 Need a ‘clicker’ button ! Pressing the clicker every.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
5 Event Handling Interactive Programming Suggested Reading Interaction: Events and Event Handling, Supplemental Text for CPSC 203 Distributed this term.
5.01 Understand Different Types of Programming Errors
CODING VOCABULARY.  Binary  A number system based on 2  Hexadecimal  A number system based on 16  Domain  An internet location registered with the.
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Fall 2008ACS-1805 Ron McFadyen1 Event-driven programming Chapter 5 covers event-driven programming. Events are user or condition driven and so each event.
COMPUTER PROGRAMMING I SUMMER Understand Different Types of Programming Errors.
Events and Event Handling
5.01 Understand Different Types of Programming Errors
ME 142 Engineering Computation I
Python Lesson 12 Mr. Kalmes.
FIGURES FOR CHAPTER 1 GETTING STARTED
Starting Out with Alice: A Visual Introduction to Programming
Introduction to Event-Driven Programming
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
Event-driven programming
Lesson 5-2 AP Computer Science Principles
Nick Sims Scripting Languages.
Unit 20: Event Driven Programming
Python Lesson 12 Mr. Kalmes.
Scripts & Functions Scripts and functions are contained in .m-files
Counted Loops.
Microsoft Access Illustrated
Lesson 1: Buttons and Events – 12/18
Lab 2 : Structures Muhammad Zaigham Abbas Shah DIGITAL INSTRUMENTATION SYSTEMS.
Lesson 2: Multi-Screen Apps
5.01 Understand Different Types of Programming Errors
Program Flow CSCE 121 J. Michael Moore.
Some simple steps to fix Dell printer error code
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Event Driven Programming
HAPPY NEW YEAR! Lesson 7: If-statements unplugged
Design and Implementation
Interactive Programming
Using Functions
ICT Programming Lesson 4:
ICT Programming Lesson 3:
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
ICT Gaming Lesson 3.
Intro to digital technology
Introduction to Programming
ICT Gaming Lesson 2.
An Introduction to Programming with C++ Fifth Edition
FLUENCY WITH INFORMATION TECNOLOGY
Print the following triangle, using nested loops
Event-driven programming
Interactive Programming
Presentation transcript:

ICT Programming Lesson 5: Working with Functions and Events

Objectives 4.3.2: Define the three main programming control structures used in structured programming: sequential, selection (decision), and iteration (loops). 4.4.4: Create animated objects using a high-level programming environment (e.g., Alice, Greenfoot) to control their behavior. 4.4.5: Create a simple program that uses animated objects. 4.4.8: Troubleshoot and debug errors in code.

Functions Like a mini program within a program that you can use over and over Functions are named units of code that perform a task or cause an action to take place. A function is called upon or executed by its name. Many programming languages contain several built-in functions that save programmers

Argument A value that is passed to a routine

Event An action that takes place while a program is running, such as clicking a mouse or pressing a key

Event Handler The code that is executed when the event occurs