P3 Explain sequence, selection and iteration as used in computer programming
P4 Outline the benefits of having a variety of data types available to the programmer
Task 2
Include in your report an explanation on sequence, selection and iteration as used in computer programming. Use examples from ...
unit 6 1 know the features of programming languages
selection and iteration as used in comput
Written for
BTEC
Pearson (PEARSON)
Information Technology 2010 QCF
Unit 6 - Software Design and Development
All documents for this subject (10)
2
reviews
By: shankariuma • 5 year ago
By: Homeworkbear • 6 year ago
Very helpful
Seller
Follow
petercriss
Reviews received
Content preview
| 11/3/2016
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 or Stuvia-credit 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 $6.64. You're not tied to anything after your purchase.