Sunday, 10 November 2013

Unit 14 P1

Unit 14: P1 - Describe the key features of event driven programs.


What an event driven language is?

An event driven language waits till an event like a button click or a click like in visual basics you can add a button which can have code like an exit button with "exit()" which means when the button is pressed it will run the code which will exit the program.

A description of one event driven language?

Visual Basics is an event driven language it lets you drag and drop buttons which can have an event on them which will wait for the event to happen before running the code.

Typical ‘events’ in your chosen language?

In visual basics there are a lot of different events like click, button click, enter etc. For example

Mouse hover- It means when the mouse hovers over the object it will trigger the code to run.

Mouse wheel- when the mouse wheel is moved it will trigger the code that is run with that.

Mouse click- When the mouse clicks on the object it will trigger the code which will run.


What features of the language are available?

Using Visual Basics for programming makes it very good because you can drag and drop objects like buttons, text boxes and labels. Which means you can code the buttons when you double click the object. other features are the tool box which hold all the objects that you can use in Visual Basic like labels, buttons and a lot of other objects.

What are the advantages of your language?

The advantages of Visual Basics are that you can drag objects and drop them on any form you want and then make them run code when an event happens. Rad (rapid application development) can be used because Visual Basics is easy to use to update the applications very fast.

What are the disadvantages of the language?

The disadvantages of Visual Basics are that the program sometimes can crash and not save work and can mess up a lot of the time which is not good after you have wrote a lot of lines of code. Visual basics applications can only be run on windows no other operating system which is hard if you want to run it on multiple operating systems.

5555251626