8279 BTec Nationals Unit 20 Event Driven Programming
Next Session Session 1
Learning outcomes
On completion of this unit a learner should:
1 Understand the characteristics and uses of event driven programming
2 Be able to use the tools and techniques of an event driven language
3 Be able to design and create an event driven application
4 Be able to test and review an event driven application.
1 Understand the characteristics and uses of event driven programming
Key characteristics: eg event handlers; trigger functions; event loops; forms
Advantages of event driven programming: flexibility; suitability for graphical
interfaces; simplicity of programming; ease of development
Disadvantages: eg can be slow
Examples: operating systems as event driven systems; GUIs
Programming languages: eg VB, VB.NET, Visual C++, VBA
2 Be able to use the tools and techniques of an event driven language
Triggers: eg key press, alarm, system event, touch screen event, mouse click
Tools and techniques: eg use of tool boxes and controls, selection, loops, event handlers, triggers, objects and object properties, menus; debugging tools
Data: variables; data types; declaring variables; scope of variables; constants
3 Be able to design and create an event driven application
Specification: input; output; processes; user need; purpose
Design: screen layouts; data storage; event procedures and descriptions;
appropriate ways of representing the processing tasks
Creation of application: use of development environment; debugging
4 Be able to test and review an event driven application
Testing and debugging: test strategy; test plan structure eg test, date, expected result, actual result, corrective action; error messages; specialist software tools
eg debug
Review: against specifications requirements; interim reviews
Scheme of Work |
Session:Autumn 2009 |
|
|
|
|
School: Business Computing and Retail |
Course title and year: |
|
|
Btec Natonal Diploma 2008/10 |
|
Lecturer: Philip M Russell |
IT Practitioners |
|
|
|
|
Module/subject/unit: |
Unit 20 Event Driven Programming |
Duration of Each Session: 1.5hrs |
| Week Number | 1st Session | 2nd Session |
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | ||
| 17 |
| Week | |||
| 1 | Intro What is an event driven program. Event handlers; Forms |
Create a very simple calculator to add 2 numbers. Prog 2 Mod a number check for odd and even | |
| 2 | Simple number theory HTU Casting letters to numbers. Internal programming architecture. Simple event loops; key press | Prog 3 Create a simple calculator. Most nos to the right. Add up, Subtract, Multiply and Divide. | |
| 3 | Trigger functions; | Times tables | |
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 |
Essential resources
Learners will need access to appropriate hardware and software that can handle
relational databases such as Microsoft Access. Learners will also require manuals and
helpsheets related to the actual software used.
Indicative reading for learners
Textbooks
Balena F — Programming Microsoft Visual Basic 2005: The Language (Microsoft Press
US, 2005) ISBN 0735621837
Bond M, Law D, Longshaw A, Haywood D and Roxburgh P — Sams Teach Yourself J2EE
in 21 Days, 2nd Edition (Sams, 2003) ISBN 0672325586
Palmer G — Java Event Handling (Prentice Hall, 2001) ISBN 0130418021
Sharp J — Visual J#.NET Core Reference (Microsoft Press US, 2002) ISBN 0735615500
Suddeth J — Programming with Visual Studio .NET 2005 (Lulu.com, 2006)
ISBN 1411664477
Troelsen A — Pro C# 2005 and the .NET 2.0 Platform, 3rd Edition (Apress US, 2004)
ISBN 1590594193