Unit 14 Event Driven Programming
Unit 6: Software Design and Development
Unit 14
1: Understand the features of event driven programming.
Unit 6
1: Know the features of programming languages
Unit 14: P1, M1, D1
Unit 6: P3, P4
D1 Evaluate the suitability of event driven programs for non-graphi...
Features of programming languages and event
driven languages
Contents
Task 1: Event driven programming ............................................................................................................. 2
Service oriented ....................................................................................................................................... 2
Time driven triggers ................................................................................................................................. 2
Event handlers ......................................................................................................................................... 2
Trigger functions ...................................................................................................................................... 2
Events e.g. load, click .............................................................................................................................. 2
Event loops ............................................................................................................................................... 2
Flexibility for GUI, forms........................................................................................................................... 2
Simplicity of programming ...................................................................................................................... 3
Ease of development ............................................................................................................................... 3
Task 2 ........................................................................................................................................................... 3
Variables and their scope........................................................................................................................ 3
Local ..................................................................................................................................................... 3
Public/global ........................................................................................................................................ 3
Naming conventions ................................................................................................................................ 3
The use of logical operators .................................................................................................................... 4
Assignment statements........................................................................................................................... 4
Input and output statements .................................................................................................................. 4
Sequence, Selection and Iteration ......................................................................................................... 4
Sequence ............................................................................................................................................. 4
Selection ............................................................................................................................................... 4
Task 3 ........................................................................................................................................................... 4
Data types ................................................................................................................................................ 4
String .................................................................................................................................................... 5
Bytes ..................................................................................................................................................... 5
Decimal................................................................................................................................................. 5
Integer .................................................................................................................................................. 5
Boolean ................................................................................................................................................ 5
Long ...................................................................................................................................................... 6
Task 4 ........................................................................................................................................................... 6
Task 5 ........................................................................................................................................................... 7
1
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller petercriss. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £5.99. You're not tied to anything after your purchase.